Security headers
We grade the response headers that help browsers protect your visitors, from A to F.
What we look at
| Header | What it does |
|---|---|
| Strict-Transport-Security | Always use HTTPS for this site |
| Content-Security-Policy | Which scripts and other files the page may load |
X-Frame-Options, or frame-ancestors | Stops other sites showing the page in a frame |
| X-Content-Type-Options | Stops browsers guessing file types |
| Referrer-Policy | How much of the address is shared with other sites |
Each scores 2 if it's good and 1 if it's too weak. A is 9 or 10, B is 7 or 8, C is 5 or 6, D is 3 or 4, and F is less.
What we tell you about
- Warning the first time, if the grade is below B
- Warning if the grade drops, or a header that was good goes missing
How to fix it
Open the alert and find Header by header. It lists what's missing, with a line to copy for each. Start with Content-Security-Policy-Report-Only, to see what a policy would block before you switch it on.
It's not a full security audit.
Where it runs
On every page you add.
To change any of this, open the site, then Settings, then Checks and rules. How rules work. Pages added before 3.0 can have older defaults, which alert more often.
See also security header monitoring on our website.