Lesson 4.1
HTTPS, security headers, and CSP
A handful of response headers remove entire attack classes. CSP is the strongest and the fiddliest, so roll it out in report-only first.
8mIntermediate7,099 students

Sign in to watch this lesson
Browsing is free. Create an account to play videos and track your progress.
Overview
A handful of response headers remove entire attack classes. CSP is the strongest and the fiddliest, so roll it out in report-only first.
What this lesson covers
- Enforce HTTPS and enable HSTS
- Set the headers that block framing and sniffing
- Introduce a content security policy incrementally
This lesson sits in Hardening and Supply Chain, part of Practical Web Security. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Enforce HTTPS and enable HSTS
- Set the headers that block framing and sniffing
- Introduce a content security policy incrementally