Intelligence Lab / Security headers check
Live check · public data only
Security headers check
See which protective HTTP headers your website sends, get a grade, and copy the exact lines to add for Apache, .htaccess or Nginx.
- Resolving the domain
- Opening a secure connection
- Reading the response headers
- Grading each security control
- Writing copy-paste fixes
Want this fixed for you? We can make these changes on your site and check the result.
Get it fixedWhat this check looks at
We load your homepage over HTTPS the way a browser would, follow any redirects, and read the response headers. We also check whether the plain http:// address sends visitors to the secure version.
Strict-Transport-Security (HSTS)
Tells browsers to only ever connect to your site over HTTPS. Without it, the first visit can be quietly downgraded to HTTP on public Wi-Fi. Use a max-age of at least one year.
Content-Security-Policy (CSP)
Lists where scripts, styles and other resources may load from. A good policy stops injected scripts from running, which is the main defence against cross-site scripting. Policies that allow 'unsafe-inline' scripts give much less protection.
Clickjacking protection
X-Frame-Options or the CSP frame-ancestors directive stops other sites from loading yours in an invisible frame and tricking visitors into clicking buttons.
X-Content-Type-Options, Referrer-Policy and Permissions-Policy
These stop browsers guessing file types, limit what page addresses leak to other sites, and switch off browser features like the camera and microphone that your site doesn't use.
Information leaks and cookies
Headers like Server: Apache/2.4.41 or X-Powered-By: PHP/7.4 tell attackers exactly which versions to look up. We also check that cookies use the Secure, HttpOnly and SameSite flags.
Guides
- HTTP security headers: a practical guide for website ownersThe six HTTP security headers every website should send, what each protects against, and copy-paste settings for Apache and Nginx.
- Prompt injection: how attackers hijack AI chatbots and agentsPrompt injection is the top security risk for AI apps. How direct and indirect attacks work, real examples, and the defences that help.
- SaaS penetration testing: what it covers and when you need itWhat a web app penetration test covers for SaaS, how it differs from a vulnerability scan, when to get one and what a good report includes.
Questions
What are HTTP security headers?
They are short instructions your server sends with every page. They tell the browser to always use HTTPS, which scripts are allowed to run, whether other sites can frame your page, and more. They cost nothing to add and block whole categories of attacks.
Will adding these headers break my site?
HSTS, X-Content-Type-Options, Referrer-Policy and X-Frame-Options rarely cause problems. Content-Security-Policy can block scripts your site relies on, so add it in Content-Security-Policy-Report-Only mode first and check the browser console before enforcing it.
I'm on shared hosting. Can I still add them?
Yes. On Apache or LiteSpeed hosting (most shared hosts, including Hostinger and cPanel hosts) you can add the Apache lines to the .htaccess file in your site's main folder. On WordPress, you can also use a headers plugin.
Why does my score differ from other scanners?
Each scanner weighs headers differently. We weigh the ones that stop real attacks most heavily (HTTPS, HSTS and CSP) and treat version-revealing headers as minor issues.
Do you store the sites I check?
No. The check runs once and the result is shown only to you. We keep a short-lived counter of how many checks each visitor runs to stop abuse.