CSACyber Security AuditWebbandflow
HTTP security headers

Security Headers

Special HTTP response settings that instruct browsers to apply extra protections to a page.

What it is

Security headers are instructions a web server sends with its responses to tell the browser how to behave more safely, for example which scripts to trust or whether the page may be framed. They act as a layer of defense enforced by the browser itself. Missing or weak headers are commonly reported because they are easy to add and widely beneficial.

Why it matters

Well-chosen headers mitigate whole classes of attack such as cross-site scripting and clickjacking, making them a high-value, low-cost improvement.

How to fix it

Add and tune the relevant headers such as Content Security Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, and Strict-Transport-Security.

Related terms

References

← Back to the glossary