← All courses
Security · Beginner → Advanced
Browser Security Headers: CORS, CSP and Cookies Explained
The browser security model and the HTTP headers that configure it, from first principles: what an origin is and exactly what the Same-Origin Policy blocks, how CORS preflights work header by header, Content Security Policy directive by directive including nonces, hashes, strict-dynamic and Trusted Types, cookie attributes and SameSite enforcement, CSRF and clickjacking defenses, and the cross-origin isolation headers COOP, COEP and CORP. The final phase assembles a complete, production-ready header set for a realistic application.
Helpful first: Application Security for Developers: Secure Coding Course.
Step 2 of 4 in the Frontend engineer path. Up next: API Design Course: REST and GraphQL Best Practices.
Step 4 of 5 in the Application security path. Up next: Computer Networking for Developers: TCP, DNS, HTTP, TLS.