Enter a domain (e.g. networkluki.com) to view its HTTP headers.
A serious website uses security headers to protect visitors against common attacks (XSS, clickjacking, MITM, data leakage, etc.). These are the most important ones:
| Strict-Transport-Security [important] | HSTS forces the browser to always use HTTPS and protects against downgrade attacks. It should have a max-age of at least 6 months (15552000), ideally with includeSubDomains. |
|---|---|
| Content-Security-Policy [important] | CSP restricts which scripts, styles and resources may load. It is the best defense against XSS. Often missing even on large sites, but a serious site has one. |
| X-Content-Type-Options [important] | The value nosniff stops the browser from guessing the MIME type, e.g. preventing an uploaded image from being executed as JavaScript. |
| X-Frame-Options [important] | Prevents the page from being loaded in an <iframe> on another site (clickjacking). Values: DENY or SAMEORIGIN. (Gradually replaced by CSP frame-ancestors.) |
| Referrer-Policy [recommended] | Controls how much information is sent in the Referer header to other sites. strict-origin-when-cross-origin or no-referrer are safe choices. |
| Permissions-Policy [recommended] | Disables browser features the page does not need (camera, microphone, geolocation, payment API, etc.), reducing the attack surface. |
| Cross-Origin-Opener-Policy [recommended] | COOP isolates the page from other windows. same-origin protects against Spectre and cross-origin leaks. |
| Server / X-Powered-By [should be hidden] | Reveals server software and version. A serious site hides this so attackers cannot easily look up CVEs. For example, just Server: cloudflare is fine; Server: Apache/2.4.41 (Ubuntu) is not. |
| Set-Cookie [important flags] | Cookies should have Secure (HTTPS only), HttpOnly (not accessible from JavaScript) and SameSite=Lax or Strict (CSRF protection). |
Rule of thumb: If a site lacks HSTS, CSP, X-Content-Type-Options and X-Frame-Options, that is a warning sign, especially if it handles logins, payments or personal data. For a full test, use securityheaders.com or observatory.mozilla.org.