Skip to content

headers

Security headers check

HTTP security headers tell the browser how to treat your pages. A missing header is a control the browser never received.

Free basic scan · No installation required

Only scan websites you own or are authorized to assess.

What the scan looks at

  • Strict-Transport-Security (HSTS), which tells browsers to stay on HTTPS.
  • Content-Security-Policy, which limits where scripts, frames, and other resources can come from.
  • X-Frame-Options, which controls whether other sites can frame the page.
  • X-Content-Type-Options, Referrer-Policy, and Permissions-Policy.

What a weak result means

Without HSTS, a browser can still be sent to an insecure first request for the site.

Without a Content-Security-Policy, the browser has no allowlist for scripts and frames. The useful fix is a policy that matches the resources the site actually loads, then tightened.

Without X-Frame-Options or a CSP frame-ancestors directive, another site may be able to frame the page.

Without X-Content-Type-Options: nosniff, a browser may interpret a response as a different type than the server intended. Without Referrer-Policy, the browser chooses how much of the URL to send onward. Without Permissions-Policy, camera, microphone, and similar features stay at the browser default.

What to fix

  • Send the headers from the origin, the CDN, or the web server on the HTML response.
  • Start HSTS with a short max-age, including subdomains only after every subdomain answers over HTTPS. Lengthen the max-age once that is stable.
  • Start Content-Security-Policy from the resources the site loads. A report-only policy is a reasonable first step when a strict policy would break the page.
  • Set X-Content-Type-Options to nosniff, choose a Referrer-Policy such as strict-origin-when-cross-origin, and disable browser features the site does not use.

What this check does not do

The check reads the headers on the page that was assessed. It does not review every URL on the site, and a present header is not proof that its policy is strict enough for the application.

The same scan also covers DNS, cookies, and page security. It is not a penetration test. Read the methodology.

A good score does not guarantee that a website is free from vulnerabilities. SecurityScanner.in performs automated configuration and security posture checks and is not a penetration test.