Reading your site's security headers, two ways

To check your security headers, open your browser's developer tools, go to the Network tab, reload the page, click the main document request and read the Response Headers list. That shows exactly what your site sends to every visitor. A free external scan reads the same public headers in one click and grades the result.

How to check5 min read

Security headers are short instructions your server adds to each response. They tell the browser how to behave: which scripts to trust, whether the page may be framed, and whether to stick to HTTPS. They are quick to read and usually quick to add.

This page covers both methods, then explains the six headers EB Security looks for and what a missing one actually means in practice.

Method 1: read response headers in your browser

You do not need any software. Every modern browser ships the tools to inspect what a site sends back, and the steps are the same in Chrome, Firefox and Edge.

The headers you want are the Response Headers for the main HTML document, not for an image or a script. Pick the first request in the list, which is normally the page URL itself.

  • Open the page, then press F12 (or right-click and choose Inspect).
  • Click the Network tab and reload the page so requests appear.
  • Click the top entry, the one matching your page's address.
  • Open the Headers panel and scroll to Response Headers.
  • Scan for names like Strict-Transport-Security, Content-Security-Policy and X-Frame-Options.

Method 2: how to check security headers with a free scan

Reading headers by hand is fine for one page, but it is easy to miss one or misread a value. An external scan checks all six in a couple of seconds and tells you which are present, which are missing and how to add each one.

EB Security runs this check as part of a wider passive scan. It reads only what your site already serves publicly, so it never logs in and never changes anything. You get a grade and a plain-English fix for each gap, with no account needed.

One honest limit worth knowing: the scan confirms whether each header is present and broadly sensible, for example whether HSTS carries a real max-age. It does not deeply audit every value, so a Content-Security-Policy could be present but loosely written. Treat a pass as a strong starting point, not a full policy review.

The six headers, in plain English

Here is what each header does and what its absence means. None of these alone will make or break a site, but together they close off common, well-understood attacks.

  • Strict-Transport-Security (HSTS): forces browsers to use HTTPS for your domain. Missing means a visitor could be downgraded to an insecure connection on a hostile network.
  • Content-Security-Policy (CSP): lists which scripts, styles and sources the browser may load. Missing makes cross-site scripting (injected code) easier to pull off.
  • X-Frame-Options: stops other sites embedding yours in a hidden frame. Missing leaves you open to clickjacking, where a user is tricked into clicking something they cannot see.
  • X-Content-Type-Options: set to nosniff, it stops the browser guessing file types. Missing can let a file be treated as a script when it should not be.
  • Referrer-Policy: controls how much of your URL is shared when a visitor clicks away. Missing can leak path or query details to third-party sites.
  • Permissions-Policy: switches off browser features you do not use, such as camera or geolocation. Missing means those features stay available to any script on the page.

Free, instant, no account

See your site's security grade in seconds.

Free, instant, and no account needed to see your grade.

Scan my site free

Plain-English A to E grade in about 10 seconds. No account needed to see it.

What to fix first

If you only have time for a few, start with the three that block real attacks: HSTS, Content-Security-Policy and X-Frame-Options. The other three are quick wins that tidy up information leakage and unused features.

Most headers are added in your web server config (Apache or Nginx) or via your CMS or a small plugin. Content-Security-Policy is the one that needs care, because a strict policy can block your own scripts until you list them. Add it in report-only mode first, watch for breakage, then enforce.

  • High value: Strict-Transport-Security, Content-Security-Policy, X-Frame-Options.
  • Quick wins: X-Content-Type-Options, Referrer-Policy, Permissions-Policy.
  • Build CSP gradually in report-only mode before switching it to enforce.

Headers are one layer, not the whole picture

Security headers harden how the browser handles your pages, but they are only part of a site's security. A clean set of headers does not tell you whether your software is up to date, whether sensitive files are exposed, or whether your certificate is valid.

That is why EB Security checks headers alongside encryption, cookies, DNS records, exposed files and reputation in the same passive scan. The headers give a fast, useful signal; the wider scan gives the fuller view. Neither is a penetration test, so for a deep review treat the results as a prioritised starting point and bring in a specialist where needed.

Checking your security headers takes a minute in browser dev tools or one click with a free scan. Start with HSTS, CSP and X-Frame-Options, then add the three quick wins.

Common questions

How do I check security headers in Chrome or Firefox?
Press F12, open the Network tab, reload the page, click the top request (your page's URL) and read the Response Headers list. The same steps work in Chrome, Firefox and Edge with nothing to install.
Which security headers matter most?
Strict-Transport-Security, Content-Security-Policy and X-Frame-Options do the most to block real attacks. X-Content-Type-Options, Referrer-Policy and Permissions-Policy are useful quick wins on top.
Does a missing security header mean my site is unsafe?
Not on its own. Missing headers are hardening gaps rather than active holes, so they nudge a security grade rather than sink it. They are worth adding because together they close off common, well-understood attacks.
Does the EB Security scan check whether my CSP is correct?
It confirms whether each header is present and broadly sensible, for example whether HSTS has a real max-age. It does not deeply audit every value, so a Content-Security-Policy could be present but loosely written. Treat a pass as a good starting point, not a full policy review.
Where do I add security headers?
Usually in your web server configuration (Apache or Nginx), or through your CMS or a small plugin. Content-Security-Policy needs the most care: add it in report-only mode first so you can fix anything it blocks before enforcing.
Is checking headers enough to keep my site secure?
No. Headers harden how browsers handle your pages, but they say nothing about outdated software, exposed files or your certificate. EB Security checks headers alongside those in one passive scan, though that still is not a full penetration test.

How safe is your website?

A free A to E grade in about 10 seconds. No account needed.

Check my site