HTTP Security Headers Analyzer
Scan any domain to check the configuration of critical security headers like CSP, HSTS, X-Frame-Options, and CORS.
How It Works
- Enter the target HTTPS URL to analyze.
- The tool sends an HTTP HEAD/GET request to evaluate HTTP security response headers.
- Headers including Content-Security-Policy (CSP), Strict-Transport-Security (HSTS), X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Permissions-Policy are scored.
Primary Use Cases
- Hardening web applications against Cross-Site Scripting (XSS), Clickjacking, and MIME sniffing.
- Verifying compliance with OWASP Top 10 web application security benchmarks.
- Preparing web applications for cybersecurity compliance audits (SOC 2, ISO 27001, PCI DSS).
Common Security Pitfalls
- Setting HSTS with a short max-age, which fails to provide permanent downgrade attack protection.
- Deploying an overly permissive CSP containing 'unsafe-inline' and 'unsafe-eval', defeating the purpose of CSP protection.
Frequently Asked Questions
- What is HSTS preload?
- HSTS preload embeds your domain directly into browser source code, ensuring that browsers NEVER establish unencrypted HTTP connections even on the very first visit.
- How does Content-Security-Policy prevent XSS attacks?
- CSP restricts the sources from which scripts, styles, images, and other resources can be loaded, preventing injected malicious scripts from executing.
References & Standards