FREE TOOL
Security header guide
Understand common headers and starting values.
| HEADER | PURPOSE | STARTING VALUE |
|---|---|---|
| Strict-Transport-Security | Tells browsers to use HTTPS only. Add includeSubDomains only if every subdomain supports HTTPS. | max-age=31536000; includeSubDomains |
| Content-Security-Policy | Limits origins for scripts, styles and other resources. Test in report-only mode first. | default-src 'self' |
| X-Content-Type-Options | Prevents browsers from guessing the content type. | nosniff |
| X-Frame-Options | Controls whether a page can appear inside a frame. The modern equivalent is frame-ancestors in CSP. | SAMEORIGIN |
| Referrer-Policy | Limits referrer information sent to other websites. | strict-origin-when-cross-origin |
| Permissions-Policy | Disables browser features the site does not use. Adapt it to the features your site needs. | camera=(), microphone=(), geolocation=() |
| Cross-Origin-Opener-Policy | Isolates the browsing context from other-origin windows. May disrupt sign-in flows that use popups. | same-origin |
Scope and limitations. Educational reference. Adapt the values to your website’s needs.