Skip to content
FixSecurityHeadersScan a site

HTTP security headers explained

Last updated · Reviewed by a CISSP-certified security practitioner

Security headers are instructions your server sends with every response telling browsers how to protect your users. These 9 headers cover HTTPS enforcement, script control, clickjacking, privacy and cross-origin isolation.

HeaderWhat it doesSafe value
Strict-Transport-SecurityForces browsers to only use HTTPS for your domain.max-age=63072000; includeSubDomains; pre…
Content-Security-PolicyControls which scripts, styles and frames a page may load.default-src 'self'; script-src 'self'; s…
X-Content-Type-OptionsStops browsers from guessing (sniffing) file types.nosniff
X-Frame-OptionsPrevents your site being embedded in iframes (clickjacking).DENY
Referrer-PolicyLimits how much of your URLs leak to other sites.strict-origin-when-cross-origin
Permissions-PolicyTurns off browser features (camera, mic, geolocation) you don't use.camera=(), microphone=(), geolocation=()…
Cross-Origin-Opener-PolicyIsolates your window from pop-ups and openers on other sites.same-origin
Cross-Origin-Resource-PolicyStops other sites from loading your resources.same-origin
Cross-Origin-Embedder-PolicyRequires embedded resources to opt in (enables cross-origin isolation).require-corp