Critical security advisoryCriticalFlagged by our vulnerability database: PHP2Shell: two critical PHP flaws affect most WordPress hosting. See if your site is affectedFlagged by our vulnerability database: PHP2Shell, two critical PHP flaws. DetailsFlagged: PHP2Shell. Check your site
HuttenlocherTechnologies

Security · 6 min read · Updated October 25, 2026

Website security headers explained

Short answer: Security headers are short instructions your server sends with every page, telling the browser how to protect the visitor: always use HTTPS, don’t let other sites frame this page, don’t run scripts from strangers. They’re free, and most local sites are missing them.

In our October audits, 30 of the 33 Grand Strand business sites we checked were missing at least one of these, and 24 were missing most of them. They don’t fix a hacked site, but they shut off whole categories of attacks against your visitors.

The six

  1. Strict-Transport-Security (HSTS)Tells the browser to only ever load your site over HTTPS, even if someone types http:// or follows an old link. Stops a visitor on public Wi-Fi from being quietly downgraded to an insecure connection.
  2. Content-Security-Policy (CSP)A list of where your page is allowed to load scripts, styles, images and frames from. If an attacker manages to inject a script, the browser refuses to run it. The most powerful header and the one that takes the most care to set up.
  3. X-Frame-Options or frame-ancestorsStops other sites from loading your pages inside an invisible frame and tricking visitors into clicking things, a trick called clickjacking.
  4. X-Content-Type-Options: nosniffTells the browser to trust the file type your server says, instead of guessing. Stops some uploaded files being run as scripts.
  5. Referrer-PolicyControls how much of your page’s address is passed to other sites when a visitor clicks away. Keeps things like search terms or form details in URLs from leaking.
  6. Permissions-PolicyTurns off browser features your site doesn’t use, like the camera, microphone or location, so an injected script can’t ask for them.

How to check and add them

Our free website check lists which headers your home page sends. How you add them depends on the host: a settings panel, a configuration file, or a service in front of the site such as Cloudflare. Start with the four simple ones, then build a Content-Security-Policy in report-only mode so you can see what it would block before turning it on.

Every site we build and host sends all six, and our monitor checks them every five minutes. You can see that live on our proof board.

Written by Nikita Huttenlocher, founder and lead engineer at Huttenlocher Technologies, a web design and software company in Myrtle Beach, South Carolina.

Questions

Can headers break my site?

The simple ones almost never do. A strict Content-Security-Policy can block a chat widget or analytics tag you forgot about, which is why it’s tested in report-only mode first.

Can I add them on Wix or Squarespace?

Mostly not. Hosted builders control the headers themselves, and several of these aren’t available. That’s one of the things our check makes visible.

Start a project

Tell us what you're building.

A website, a booking system, an app, or the thing you've been running out of a spreadsheet for three years. A few lines is plenty.

01The person who'll build it writes back
02A planning call, then a written plan with the price and the date
03A preview on your phone while it's being built
04Launch night handled: redirects, email, Google
843-331-6339

Not ready to talk yet? Run the free website check and see what Google sees.

What do you need?

No newsletter, no sales sequence. Just a reply.