Web security basics
The eighth chapter begins the protection of web systems with a way of thinking: what do we protect, from whom, and where does data cross a trust boundary. It presents the browser's isolation rules (same-origin policy, CORS), then the three most important families of attack, XSS, CSRF, and injection, on real, executed examples. It covers the protection of passwords, multi-factor authentication, and sessions, and closes with a security review in the spirit of OWASP.
Web security basics
The eighth chapter begins the protection of web systems with a way of thinking: what do we protect, from whom, and where does data cross a trust boundary. It presents the browser's isolation rules (same-origin policy, CORS), then the three most important families of attack, XSS, CSRF, and injection, on real, executed examples. It covers the protection of passwords, multi-factor authentication, and sessions, and closes with a security review in the spirit of OWASP.