logoalt Hacker News

huijzer • yesterday at 8:42 PM • 2 replies • view on HN

I also wonder sometimes what people are doing that they’re so afraid of hacks? Rust web server with password auth having explicit auth tests on each sensitive endpoint plus constant time string check goes a long way. Sure there are many nuances for more complex applications, but regular joe will usually not need more than this. If this is not safe then please tell me. Or use Caddy basic auth implementation plus HTTPS if you want an even more foolproof method.


Replies

breezey3po • yesterday at 9:16 PM

That's all application level protocol. TCP sits below that. You can create a connection to a server running a web application and never send a single HTTP command

Having application level auth does nothing if the vulnerability is lower in the stack.

winddude • yesterday at 9:30 PM

some ISP also make it very hard to unblock inbound connections, or don't let you ublock, ports 80 or 443.