What the checker looks at
Security headers are instructions a site sends with each page, telling the browser how strict to be. They are cheap to add and they blunt whole classes of attack, such as cross-site scripting and clickjacking. The checker reads the headers of the page you enter, after following up to four redirects, and checks ten things.
| Check | What it protects against |
|---|---|
| HTTPS and Strict-Transport-Security | Traffic being read or changed on the way, and downgrades to plain HTTP |
| Content-Security-Policy | Injected scripts running in your visitors' browsers |
| frame-ancestors or X-Frame-Options | Clickjacking: your page loaded invisibly inside someone else's |
| X-Content-Type-Options | Browsers treating an uploaded file as a script |
| Referrer-Policy | Private paths and tokens leaking to other sites |
| Permissions-Policy and Cross-Origin-Opener-Policy | Misuse of browser features and cross-window attacks |
| Version disclosure and cookie flags | Telling attackers what to try, and cookies stolen or sent cross-site |
How the grade is worked out
Each check has a weight, with HTTPS, HSTS and the Content-Security-Policy weighing most. A pass counts in full, an improvement counts half and a missing header counts nothing. The score becomes a grade from A to F. A policy that exists but allows inline scripts gets half marks, because it looks like protection without giving much.
Headers are one layer. A grade A site can still have broken access control or an injectable form. Headers make attacks harder; they do not replace a penetration test or secure code.
Fixing what it finds
Most headers are set in one place: the web server, the CDN, or the framework's configuration. Add the simple ones first (nosniff, Referrer-Policy, framing, HSTS once HTTPS works everywhere), then build the Content-Security-Policy in report-only mode, read the reports and enforce it. Our secure by default web checklist puts headers in context with the other basics, and the security test picker helps you decide what to check next.
What the checker does not do
It reads one page's response headers and nothing else: no crawling, no attack traffic, no page content. It does not check private or local addresses, odd ports or sites that need a sign-in. Only check sites you own or are allowed to assess, and treat the grade as a quick reading, not an audit.