Try chilldomains.com.au or example.com. A bare domain checks the home page over https; redirects are followed and the final page is graded.
Security headers for
What security headers are
Every time a browser loads a page, the server sends a few lines of instructions with it, called response headers. Some of them switch on protections that are built into every modern browser but stay off unless the site asks: always use HTTPS, only run scripts from these places, don’t let other sites show this page in a frame. They cost nothing, don’t change how the site looks, and close off whole kinds of attack. Most small-business sites send few or none of them.
The headers it checks
- Strict-Transport-Security (HSTS) tells browsers to use HTTPS for this site, every time, for the number of seconds in
max-age. Without it, someone who types the address gets plain http first, which an attacker on the same Wi-Fi can intercept. A year (max-age=31536000) is usual. AddincludeSubDomainsonly once every subdomain works on HTTPS. - Content-Security-Policy (CSP) lists where scripts, styles, images and frames may load from. It’s the strongest defence against injected scripts (cross-site scripting), and the hardest to set, because it has to match what the site really uses. The checker counts a policy in a
<meta>tag too, and flags loose rules such as'unsafe-inline','unsafe-eval'and wildcards. - X-Content-Type-Options: nosniff stops browsers guessing a file’s type from its contents, so an uploaded “image” can’t run as a script.
- X-Frame-Options (or the CSP rule
frame-ancestors) stops other sites showing your page inside an invisible frame and tricking visitors into clicking things, which is called clickjacking. - Referrer-Policy controls how much of your page address is passed to the sites you link to.
strict-origin-when-cross-originsends only your site name, and only over HTTPS. - Permissions-Policy switches off browser features the site doesn’t use, such as the camera, microphone and location, so nothing embedded in the page can ask for them.
- Software versions and cookie flags are checked too: a
ServerorX-Powered-Byheader with version numbers tells attackers which known holes to try, and cookies should be markedSecureandSameSite, andHttpOnlyunless a script needs to read them.
How the grade works
Each header is good, to improve, or missing or wrong. Good earns full marks, “to improve” half, and missing none. HSTS and CSP count double, versions and cookies half. The score is out of 100: 90 and up is an A, 80 a B, 65 a C, 50 a D and anything lower an F. A page served over plain http can’t score above an F, because none of this protects a connection that isn’t encrypted. Optional headers (the Cross-Origin policies) and obsolete ones (X-XSS-Protection, Expect-CT) are listed but don’t count.
How do I add these headers?
Header always set X-Content-Type-Options "nosniff" to the .htaccess file in the site’s folder. On nginx it’s add_header in the server block. If the site is behind Cloudflare, Transform Rules can add response headers. WordPress has plugins that set them. Hosted builders such as Squarespace and Wix set some for you and don’t let you add others.Will adding them break my site?
nosniff, Referrer-Policy and X-Frame-Options: SAMEORIGIN are safe on almost every site. HSTS is safe once the whole site works on HTTPS, but start with a short max-age if you’re unsure, because browsers remember it. A Content-Security-Policy is the one that can break things: send it as Content-Security-Policy-Report-Only first, watch the browser console for what it would block, and adjust before switching it on.