QA-099
The server sends protective headers (HSTS, X-Content-Type-Options, frame protection, a content security policy) (Guideline 4.5).
The requirement
The server sends protective headers (HSTS, X-Content-Type-Options, frame protection, a content security policy) (Guideline 4.5).
Why it matters to users
Protective headers stop the browser from loading the site inside a fake page to trick visitors, or from running scripts slipped into it. Without them, visitors are easier targets while believing they are on the official site.
How to fix it
Add Strict-Transport-Security, X-Content-Type-Options: nosniff, frame protection (frame-ancestors or X-Frame-Options) and a Content-Security-Policy in your server configuration. Then scan again.
How we measure it
Response headers of the homepage.