Cyber Security SpaceCYBERSECURITYSPACE.NET
Community
Community HubEventsNewsletterSubmit a Tool
Careers
JobsCareer GuidesFor ProfessionalsCertifications
Learn
Learning PathsEducationGuidesGlossaryTools
News & Threats
NewsBlogThreat LibraryCrypto Security
Small Business
Security CheckupSecurity GuidesComplianceIncident ResponseSecurity Monitor
Join the community
Cyber Security Space

A community for cybersecurity professionals and enthusiasts: careers, learning, and people to learn with. Practical guidance for small businesses too.

Small Business

  • Security Checkup
  • Security Checklist
  • Security Guides
  • Templates
  • Security Tools

Security

  • Website Security
  • Incident Response
  • Compliance
  • Threat Library
  • Crypto Security

Resources

  • Resources
  • News
  • Blog
  • Glossary
  • Jobs
  • Learning

Company

  • About
  • Sources
  • Contact
  • Privacy Policy
  • Terms
  • Disclaimer
  • Editorial Policy
© 2026 Cyber Security Spacecybersecurityspace.net

Glossary

Security headers

Security headers are HTTP response headers that instruct the browser to enforce protections such as transport security, framing rules and allowed script sources.

Updated 2 Sept 2026

In detail

Because they are enforced by the browser, security headers act as a second line of defence: they limit what an injected script, a clickjacking frame or a downgraded connection can achieve even when an application flaw exists. The practical set is small — Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, Referrer-Policy, and a framing rule via CSP's frame-ancestors — and each addresses a specific browser behaviour rather than a generic 'hardening' goal.

Why it matters

Headers are the cheapest control available on most sites: they are configuration, not code, and they measurably reduce the impact of cross-site scripting, mixed content and UI redress attacks. They are also verifiable from outside the application, which makes them a reliable audit signal.

Examples

  • Strict-Transport-Security: max-age=31536000; includeSubDomains — forces HTTPS for a year.
  • Content-Security-Policy: default-src 'self'; frame-ancestors 'none' — blocks unlisted script origins and framing.
  • X-Content-Type-Options: nosniff — stops the browser guessing a response's MIME type.

Where this matters

  • Security Headers Explained
  • Website Security Checklist

Related tools

  • Security Headers Checker

Related terms

  • Content Security Policy (CSP)
  • HSTS
  • Zero trust