4 ms·
That's an interesting perspective, but some additions: - the client (i.e. browser), protocol, proxies, etc. are very hard to reason about. For instance, conten
by JoachimSchipper 10y ago
That's an interesting perspective, but some additions:
- the client (i.e. browser), protocol, proxies, etc. are very hard to reason about. For instance, content sniffing and HTTP response splitting should not show up in a sane protocol, yet here we are. An encyclopedic knowledge of - at least - browsers bugs is required to write "secure" web sites.
- type-based safety doesn't do a lot to ensure that e.g. the same-origin policy actually protects your users (i.e. that there is not some unrelated application on the same domain-ish). The public suffix list (https://publicsuffix.org/ https://publicsuffix.org/) is essential to modern web security, and there seem to be no plans to change this.
- "The Tangled Web" is very good (or at least the first half is). It makes me happy I'm not working on the web. ;-)
- nickpsecurity 10y ago"the client (i.e. browser), protocol, proxies, etc. are very hard to reason about. For instance, content sniffing and HTTP response splitting should not show up in a sane protocol, yet here we are. An encyclopedic knowledge of - at least - browsers bugs is required to write "secure" web sites." It's true. I think you could encode a lot of that in a framework or language such as Opa or Ur/Web. What's left is a tiny checklist. Edit to say maybe not tiny but smaller. "type-based safety doesn't do a lot to ensure that e.g. the same-origin policy actually protects your users" There's secure, browser architectures that do that in various ways. I'm not sure about the language level. Might need to be combined. Worth thinking about. The publicsuffix website is new to me so thanks. " It makes me happy I'm not working on the web. ;-)" You're the second or third to recommend Tangled Web. On my reading list for if I get back into Web development. I'm sure I'll have the same reaction. You might find it funny that a prior commenter found it shocking that I hadn't read work on secure, web applications. Whereas, I originally found it shocking that people were trying to build them. Perspective changes everything, eh? :)