How to Check Website Security Headers: A Small Business Guide

Learn how to review CSP, HSTS, Referrer-Policy and other HTTP security headers, avoid common configuration mistakes and check response headers safely.

How to Check Website Security Headers: A Small Business Guide

Website security headers are instructions that a web server sends to a browser. They help control how a browser handles your site’s content and can reduce exposure to certain client-side attacks. For a small business, reviewing these headers is a practical part of website maintenance—but headers are only one layer of security, not a substitute for secure code, updates, backups or access controls.

What are HTTP security headers?

When a visitor opens a page, the server returns an HTTP response. Along with the page content, the response can include headers that tell the browser how to treat resources, connections and embedded content. A security header review helps you identify protections that may be missing or incorrectly configured.

Important website security headers to understand

1. Content-Security-Policy (CSP)

Content-Security-Policy controls which sources a browser may load for scripts, styles, images, fonts and other resources. A carefully designed policy can help reduce the impact of some cross-site scripting (XSS) attacks. There is no universal CSP value that works for every website: a policy that is too restrictive can block legitimate scripts, payment widgets, analytics or other features. Start by understanding the resources your site needs and test changes before enforcing them.

2. Strict-Transport-Security (HSTS)

HSTS tells supporting browsers to use HTTPS when returning to your website. Only deploy it after HTTPS works correctly and you understand the effect of the chosen max-age and any subdomain settings. Incorrect settings—especially long-lived policies applied to subdomains that are not HTTPS-ready—can make sites difficult to access until the policy expires.

3. X-Content-Type-Options

The value nosniff tells browsers to respect the media type declared by the server rather than trying to interpret a response as a different type. Your server must also send correct Content-Type values for the files it serves.

4. Referrer-Policy

Referrer-Policy controls how much referrer information a browser includes when navigating or requesting another resource. A common modern setting is strict-origin-when-cross-origin, but review your site’s requirements and privacy expectations before choosing a policy.

5. Permissions-Policy

Permissions-Policy lets a website control access to selected browser features, such as camera, microphone and geolocation, including in embedded frames. Configure only the features your site actually needs; test forms, video calls, maps and other integrations after making changes.

How to check your website’s security headers

  1. Open your website in a browser and use its developer tools or a trusted HTTP inspection method to view the response headers for the page.
  2. Check the HTTPS version of the page and, where relevant, important subdomains and application routes.
  3. Record the headers and their values exactly as returned. Do not assume that a header is active just because it appears in a configuration file.
  4. Review the purpose and compatibility of each header before changing your server or application settings.
  5. Test changes in a staging environment where possible, then verify the live response again after deployment.

You can also paste response headers into our free Security Headers Analyzer to review common protections. The analyzer evaluates the header text you provide; it does not visit, fetch or scan a website URL. To obtain the headers, use your browser’s developer tools or an authorized inspection method first.

Common mistakes to avoid

  • Copying a strict CSP from another website: your scripts, fonts, images and third-party services may need different sources.
  • Enabling HSTS without checking subdomains: confirm HTTPS works wherever the policy will apply.
  • Assuming headers make a site secure: they do not fix vulnerable plugins, weak passwords, insecure application code or exposed administrator accounts.
  • Checking only the homepage: review important application pages and subdomains too.
  • Making changes without testing: a header can break legitimate site features if it is configured incorrectly.

A simple monthly review for small businesses

Add a short header check to your monthly website maintenance routine. Review important response headers, confirm HTTPS and certificate renewal, check for unexpected configuration changes, and test key site functions. Keep a record of the date, pages tested and any changes made so you can investigate problems later.

Trusted technical references

This guide is educational and is not a penetration test or a complete security audit. Make configuration changes only on systems you own or are authorized to administer, and test them carefully before deploying to production.

Put it into practice

20+ free security tools. No sign-up, nothing to install.

Keep reading