Report
takes.sbs
Very poor
10 / 100
Badge
No badge yet.
A grade covers five header settings on one page. It isn't a security audit. How grading works
The five checks
-
HTTPS enforcement 0 / 20 · Missing
Strict-Transport-SecurityWhat we looked at
The first Strict-Transport-Security header on the final HTTPS response, and its max-age value.
What we found
No matching header.- No Strict-Transport-Security header on the final response.
Why it matters
Without it, a visitor who types your address or follows an old http:// link makes one plain-HTTP request first. On an untrusted network that request can be intercepted and redirected. With HSTS, the browser goes straight to HTTPS for as long as max-age says.
Guide: HTTPS enforcement, with examples
How to fix it
Test first. Only send this once every page works over HTTPS. Browsers that see it refuse plain HTTP for the whole max-age, and you can't recall it early for visitors who already have it.
Send the header on every HTTPS response with a max-age of at least 180 days; one year (31536000) is common.
includeSubDomainsextends the rule to every subdomain, including any that still need plain HTTP (old tools, admin panels, mail web interfaces). Add it only after checking them all.preloadasks browsers to build your domain into their HTTPS lists. Getting removed takes months, so treat it as permanent. It isn't needed for full points.Strict-Transport-Security: max-age=31536000Nginx
Put this in the server block. A location block with its own add_header lines doesn’t inherit these, so repeat them there.
add_header Strict-Transport-Security "max-age=31536000" always;Apache
In the virtual host or .htaccess. Needs mod_headers (on Debian and Ubuntu: a2enmod headers).
Header always set Strict-Transport-Security "max-age=31536000"Caddy
Inside your site block in the Caddyfile.
header Strict-Transport-Security "max-age=31536000"Cloudflare
Rules → Create rule → Response Header Transform Rule. Apply to all incoming requests, choose “Set static”, and enter each header below.
Header name: Strict-Transport-Security Value: max-age=31536000 -
Content Security Policy 0 / 20 · Missing
Content-Security-PolicyWhat we looked at
Every enforced Content-Security-Policy, from headers and from a <meta> tag in the page head. We score the policy that restricts scripts best. Report-only policies are listed but never earn points.
What we found
No matching header.- No enforced Content-Security-Policy.
Why it matters
If someone manages to inject a script into one of your pages, through a comment field or a compromised plugin for example, a good policy stops the browser from running it. It's the strongest browser-side defense against cross-site scripting.
Guide: Content Security Policy, with examples
How to fix it
Test first. A Content Security Policy can block scripts, styles and embeds your site relies on. Send it first as
Content-Security-Policy-Report-Only(same value), check your browser console and reports, adjust, and only then switch to the enforcing header.This starting policy allows scripts, styles and images from your own domain only, blocks plugins, and fixes
<base>and framing to your site.Add the hosts of third-party scripts you use (analytics, chat, payments) to
script-src, or switch to nonces with'strict-dynamic'.Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'Nginx
Put this in the server block. A location block with its own add_header lines doesn’t inherit these, so repeat them there.
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'" always;Apache
In the virtual host or .htaccess. Needs mod_headers (on Debian and Ubuntu: a2enmod headers).
Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"Caddy
Inside your site block in the Caddyfile.
header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"Cloudflare
Rules → Create rule → Response Header Transform Rule. Apply to all incoming requests, choose “Set static”, and enter each header below.
Header name: Content-Security-Policy Value: default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self' -
Content-type sniffing 0 / 20 · Missing
X-Content-Type-OptionsWhat we looked at
The X-Content-Type-Options header on the final response.
What we found
No matching header.- No X-Content-Type-Options header.
Why it matters
Browsers sometimes guess a file's type from its content. A wrong guess can turn an uploaded text or image file into something the browser runs as a script. nosniff tells the browser to trust the declared Content-Type instead.
Guide: Content-type sniffing, with examples
How to fix it
Also make sure every file is served with the right Content-Type. With nosniff, browsers refuse scripts and stylesheets sent with the wrong type.
X-Content-Type-Options: nosniffNginx
Put this in the server block. A location block with its own add_header lines doesn’t inherit these, so repeat them there.
add_header X-Content-Type-Options "nosniff" always;Apache
In the virtual host or .htaccess. Needs mod_headers (on Debian and Ubuntu: a2enmod headers).
Header always set X-Content-Type-Options "nosniff"Caddy
Inside your site block in the Caddyfile.
header X-Content-Type-Options "nosniff"Cloudflare
Rules → Create rule → Response Header Transform Rule. Apply to all incoming requests, choose “Set static”, and enter each header below.
Header name: X-Content-Type-Options Value: nosniff -
Referrer policy 10 / 20 · Partial
Referrer-PolicyWhat we looked at
The Referrer-Policy header. When it lists several values, the last one the browser recognizes applies.
What we found
No matching header.- No Referrer-Policy header. Browsers fall back to their default, which is protective in current versions.
Why it matters
When a visitor follows a link from your site, the browser can tell the next site which page they came from, and page addresses can contain search terms, IDs or tokens. Current browsers already trim this by default, so a missing header still earns half the points. An explicit policy keeps the protection in place in older browsers and stops a weaker setting elsewhere from taking over.
Guide: Referrer policy, with examples
How to fix it
strict-origin-when-cross-originkeeps full addresses within your own site and sends only your domain to other HTTPS sites.no-referreris stricter if you don't need referral data in other sites' statistics.Referrer-Policy: strict-origin-when-cross-originNginx
Put this in the server block. A location block with its own add_header lines doesn’t inherit these, so repeat them there.
add_header Referrer-Policy "strict-origin-when-cross-origin" always;Apache
In the virtual host or .htaccess. Needs mod_headers (on Debian and Ubuntu: a2enmod headers).
Header always set Referrer-Policy "strict-origin-when-cross-origin"Caddy
Inside your site block in the Caddyfile.
header Referrer-Policy "strict-origin-when-cross-origin"Cloudflare
Rules → Create rule → Response Header Transform Rule. Apply to all incoming requests, choose “Set static”, and enter each header below.
Header name: Referrer-Policy Value: strict-origin-when-cross-origin -
Framing protection 0 / 20 · Missing
Content-Security-Policy frame-ancestors, X-Frame-OptionsWhat we looked at
The frame-ancestors directive of an enforced Content-Security-Policy header, and only without one, X-Frame-Options. frame-ancestors in a <meta> tag or a report-only policy doesn't count.
What we found
No matching header.- Neither
frame-ancestorsnor X-Frame-Options is set, so any site can frame your pages.
Why it matters
If any site can show your pages inside a frame, it can lay invisible buttons over them and trick visitors into clicking things they didn't mean to (clickjacking). Limiting who may frame your pages stops that.
Guide: Framing protection, with examples
How to fix it
If you already send a Content-Security-Policy, add
frame-ancestors 'self'to it instead of sending a second one. Use'none'if your pages are never framed, not even by your own site.X-Frame-Options covers very old browsers; current ones use
frame-ancestors.Content-Security-Policy: frame-ancestors 'self'X-Frame-Options: SAMEORIGINNginx
Put this in the server block. A location block with its own add_header lines doesn’t inherit these, so repeat them there.
add_header Content-Security-Policy "frame-ancestors 'self'" always; add_header X-Frame-Options "SAMEORIGIN" always;Apache
In the virtual host or .htaccess. Needs mod_headers (on Debian and Ubuntu: a2enmod headers).
Header always set Content-Security-Policy "frame-ancestors 'self'" Header always set X-Frame-Options "SAMEORIGIN"Caddy
Inside your site block in the Caddyfile.
header { Content-Security-Policy "frame-ancestors 'self'" X-Frame-Options "SAMEORIGIN" }Cloudflare
Rules → Create rule → Response Header Transform Rule. Apply to all incoming requests, choose “Set static”, and enter each header below.
Header name: Content-Security-Policy Value: frame-ancestors 'self' Header name: X-Frame-Options Value: SAMEORIGIN - Neither