Course
Web Security Headers & CSP
Browser-side defense in depth — build a real Content Security Policy, roll it out without breaking production, and use the isolation headers that turn browser features into enforceable boundaries.
Reviews
Enrolled members can rate this course.
No reviews yet.
CSP Foundations
What CSP actually enforces, how directives compose, and how to build a policy that survives real applications.
- 01CSP's Mental Model: Turn the Browser Into an AllowlistWhy CSP exists, how the browser evaluates it, and why inline JavaScript is the real enemy rather than a syntax detail.20mOpen
- 02Building a Practical CSP: Nonces, Hashes, and strict-dynamicA production-shaped policy for server-rendered apps and SPAs, with the compatibility tradeoffs explained instead of hand-waved.24mOpen
- 03Directive by Directive: The Corners That BiteThe high-value CSP directives beyond script-src — frame ancestors, form action, workers, media, sandboxing, and mixed-content behavior.22mOpen
Browser Boundaries
HSTS, cross-origin isolation, resource policy, and feature controls beyond CSP.
- 01HSTS and Transport: Make HTTPS Non-NegotiableStrict-Transport-Security, preload mechanics, redirect design, and why the first visit problem never fully disappears without preload.17mOpen
- 02COOP, COEP, and CORP: Cross-Origin Isolation Without the MythologyWhat crossOriginIsolated really means, how resource loading changes under COEP, and how to adopt isolation without breaking embeds.25mOpen
- 03Permissions-Policy, Referrer-Policy, and the Small Headers That MatterShrink browser capability surface, control referrer leakage, stop clickjacking consistently, and avoid copy-pasted legacy header cargo cults.20mOpen
Shipping and Operations
Report-only rollout, reporting pipelines, debugging breakage, and keeping the policy alive.
- 01Rolling Out CSP Without a Production BonfireThe report-only-to-enforcing pipeline, environment-specific rollout, backwards-compatible CSP syntax, and how to stage exceptions responsibly.23mOpen
- 02Reporting Endpoints: Collecting Signal Without Drowning in Noisereport-uri versus Reporting-Endpoints, report shapes, ingestion security, deduplication, and what violation data actually tells you.21mOpen
- 03Debugging Breakage: Console, Reports, and the Art of Not Weakening EverythingA field workflow for CSP, COEP, and header breakage: reproduce precisely, identify the enforcing layer, make the smallest safe exception, and verify rollback.26mOpen