Join Nostr
2025-10-20 18:24:45 UTC
in reply to

Tim Lavoie on Nostr: When the web was new, I thought Postel's Law was a great idea. It sounds great, and ...

When the web was new, I thought Postel's Law was a great idea. It sounds great, and very utopian. Now that I work in security (and still mess around in code), I've come to the conclusion that defining correct input, and enforcing it, is key to anything working well at all.

So many web vulnerabilities seem to come from trying to "do the right thing" with bad inputs. XSS in error messages, or giving up too much information. "400, your request is bad, and you should feel bad" is better.