How the grade is calculated
We request your page and read the HTTP response headers the server sends with it. Each security-relevant header is checked for presence and for a sensible value, and missing or weak headers deduct points according to their impact. The result is a score from 0 to 100 and a letter from A+ to F, shown large at the top of the report so you can compare before and after a change.
- Strict-Transport-Security: at least six months, ideally with includeSubDomains and preload.
- Content-Security-Policy: present, and without unsafe-inline, unsafe-eval or wildcard script sources.
- Clickjacking protection with frame-ancestors or X-Frame-Options.
- X-Content-Type-Options: nosniff, Referrer-Policy, Permissions-Policy and Cross-Origin-Opener-Policy.
- Server and X-Powered-By headers revealing software versions.
- Cookie flags, exposed files such as .git or .env, mixed content and security.txt.
What each header protects against
HSTS tells browsers to use HTTPS only, so nobody on a café network can downgrade a visitor to an unencrypted connection. A Content-Security-Policy limits which scripts may run, which blunts cross-site scripting. Frame protection stops other sites from embedding your pages to trick visitors into clicks. nosniff prevents browsers from guessing file types in a dangerous way, and a Referrer-Policy keeps full URLs, which may contain names or case numbers, from leaking to other sites.
None of this replaces keeping your software updated, but these headers are cheap insurance against whole categories of attack.
Raising your grade
Most headers are a single line in your web server, hosting panel, CDN or a security plugin. Start with nosniff, frame protection, Referrer-Policy: strict-origin-when-cross-origin and HSTS once you are sure every subdomain works over HTTPS. Content-Security-Policy takes more care: start in Report-Only mode, look at what would be blocked, then enforce it.
Remove version numbers from the Server and X-Powered-By headers. After each change, run the grader again; the report shows the header values we received so you can confirm the server actually sends them.
Headers and your CDN or host
If you use a CDN or managed hosting, headers may be set in more than one place, and the CDN may add or remove some. Configure them where your provider recommends and test the live result here, since the header that counts is the one the browser actually receives. Check again after changing host, CDN or security plugin.