- Term
- Security headers
- Also called
- HTTP security headers, HSTS, CSP
- Topic
- Security
The main ones:
- Strict-Transport-Security (HSTS): always use HTTPS for this site.
- Content-Security-Policy (CSP): which sources scripts, styles and images may load from, which blunts injected code.
- X-Frame-Options / frame-ancestors: stops other sites showing yours in a hidden frame.
- X-Content-Type-Options, Referrer-Policy, Permissions-Policy: smaller, cheap protections.
They cost nothing to send and are missing from many business sites. Our free website check lists which ones a site sends.
Source: HTTP Headers Cheat Sheet (OWASP)