http://qs1969.pair.com?node_id=11139923


in reply to [untitled node, ID 11139919]
in thread PSGI/Plack unsatisfactory performance

That’s fantastic. If you have the time and patience, I encourage you to write-up your approach in as much detail as possible to post here. Deployment stuff is possibly the hardest part—outside security—of getting web apps right and it sounds like you’re hitting on winning combinations.

  • Comment on Re^3: PSGI/Plack unsatisfactory performance

Replies are listed 'Best First'.
11139924
by beautyfulman (Sexton) on Dec 27, 2021 at 02:03 UTC

        Nice.

        Security is hard. And requires keeping up with the literature, as they say. I’m somewhat out of the loop at this point and there are many concerns; easy-ish first ones include–

        • Only HTTPS with modern ciphers.
        • Never put meaningful or replayable info in cookies.
        • Never echo untrusted content to the browser.
        • Never store plaintext passwords.
        • Always serve all content locally or with checksums if remote.
        • Only give lowest permission absolutely necessary to do anything.
        • Log everything to find attacks you forgot to cover.

        The gold standard for guidelines is OWASP (Open Web Application Security Project).