prsona
Get started
Low: fix when convenient

Missing security headers: the browser protections your server skips

Last reviewed

Your server is skipping the instructions that protect visitors.

Security headers are short instructions your server sends with every page, telling the browser how to behave safely. They can force a secure connection, stop your pages being embedded inside another site, and limit which scripts may run. When they are missing, the site still works normally, but visitors lose a layer of protection that browsers would otherwise apply for free.

Why a missing security header costs you customers

Missing headers rarely break anything you can see, which is why they stay missing. They matter when something else goes wrong. Without them, a tampered script or a hostile site framing your page has more room to steal form entries or trick visitors. Security reviews run by larger clients and partners commonly check for them, so the gap can count against you.

What usually causes a missing security header

  • The server or hosting plan does not send them by default
  • The site was built without anyone being asked to configure them
  • A move to a new host or content delivery network dropped the old settings
  • A strict policy broke a feature once and was removed instead of adjusted

How to check for a missing security header yourself

  1. Search for a free security headers checker, enter your address, and read the report. It lists which headers are present and which are absent.
  2. Or open your site in Chrome, right-click, choose "Inspect", open the Network tab, reload, click the first row and read the "Response Headers" list.
  3. Look for four names: Strict-Transport-Security, X-Content-Type-Options, Content-Security-Policy and X-Frame-Options. Note the ones you cannot find.
  4. Repeat on a page with a form or login, because some sites send different headers on different sections.

How to fix a missing security header

  1. Ask your developer or host to add the headers in the server configuration or the content delivery network settings, where one change covers every page.
  2. Start with the two that almost never break anything: X-Content-Type-Options set to "nosniff", and a rule that stops other sites framing your pages.
  3. Add Strict-Transport-Security only after every page and subdomain works over HTTPS, because browsers will then refuse the insecure version.
  4. Introduce a Content-Security-Policy in report-only mode first, so your developer can see what it would block before enforcing it.
  5. Retest with a header checker after each change and click through your forms, maps and embeds to confirm nothing stopped working.

How Prsona catches a missing security header

Prsona reads the response headers your site sends on every scan and flags the ones that are absent: Strict-Transport-Security, X-Content-Type-Options, and a Content-Security-Policy or X-Frame-Options. It also notes session cookies missing the Secure or HttpOnly flag.

Prsona looks for a missing security header as part of website security monitoring.

See which protective headers your server sends and which it leaves out.

Questions about a missing security header

Which security headers matter most for a small business website?

Four cover the essentials. Strict-Transport-Security keeps visitors on the encrypted version of the site. X-Content-Type-Options stops browsers misreading file types. X-Frame-Options, or the frame rule inside a Content-Security-Policy, prevents your pages being embedded elsewhere. A Content-Security-Policy limits which scripts may run. The first three are quick to add, and the last takes more care.

Will adding security headers break my website?

Most will not. The risk sits with Content-Security-Policy, which can block legitimate scripts, fonts or embeds if it is written too tightly, and with Strict-Transport-Security if part of your site still relies on plain HTTP. Add them one at a time, test in report-only mode where the header allows it, and check key pages after each change.

Sources