EN, Change language
English
UK-121

The server sends the security headers GDS asks for: Content-Security-Policy, X-Frame-Options (or frame-ancestors), Referrer-Policy and Permissions-Policy.

The GDS Way · Every UK public sector website

Why it matters to users

These headers stop injected scripts from running, stop other sites framing your pages to trick people into clicks and stop page addresses leaking to other sites, protecting the people using your service.

How to fix it

Send Content-Security-Policy with a frame-ancestors directive, X-Frame-Options: DENY, Referrer-Policy: strict-origin-when-cross-origin and a Permissions-Policy that turns off features you do not use. Then scan again.

How we measure it

The homepage's response headers.

Its official source

Related rules

Security headers sent · UK-121 | xfix