Security headers are short instructions your server sends with every page. They tell browsers to always use HTTPS, which scripts may run, whether other sites may frame the page and how much of the URL to share. They are cheap to add and protect visitors from common attacks such as cross-site scripting and clickjacking.
Enter a page address. Bargaon’s server fetches the page as a normal visitor and also requests the http:// version of the site to see whether it redirects to https://. The tool then checks Strict-Transport-Security (max-age of at least one year, includeSubDomains and preload), Content-Security-Policy (and whether ‘unsafe-inline’, ‘unsafe-eval’ or wildcard script sources weaken it), X-Frame-Options or CSP frame-ancestors, X-Content-Type-Options: nosniff, Referrer-Policy, Permissions-Policy, Secure and SameSite flags on cookies, server or X-Powered-By headers that reveal software versions, and http:// scripts, styles, images and frames on an HTTPS page.
Each check is weighted and the total becomes a grade from A to F. Header guidance follows MDN Web Docs and the OWASP HTTP Headers Cheat Sheet, checked 12 November 2026. Some headers, such as cookies set after login, only appear in certain situations, so check key pages and test changes on staging first: a strict CSP can break scripts.