Security Headers Checker
Check security headers configuration for any domain. Get a comprehensive security audit with recommendations.
Comprehensive Security Headers Audit for Any Domain
Verify that a domain implements recommended HTTP security headers. This tool checks HSTS, Content-Security-Policy, X-Frame-Options, and other critical headers, providing a security score and actionable recommendations.
Security Headers Checked
- Strict-Transport-Security (HSTS): Forces HTTPS connections and prevents downgrade attacks.
- Content-Security-Policy (CSP): Reduces XSS risks by controlling which resources can load.
- X-Frame-Options: Prevents clickjacking by controlling iframe embedding.
- X-Content-Type-Options: Stops MIME-type sniffing attacks.
- Referrer-Policy: Controls how much referrer information is sent.
- Permissions-Policy: Restricts access to browser features and APIs.
- Cross-Origin Policies (COEP/COOP/CORP): Control cross-origin resource sharing and isolation.
Additional Security Checks
- Cookie Security: Analyzes Secure, HttpOnly, and SameSite flags on all cookies.
- TLS Version: Verifies the TLS/SSL protocol version (TLS 1.2+ recommended).
- CORS Policy: Reviews Cross-Origin Resource Sharing configuration and identifies misconfigurations.
- Information Disclosure: Detects headers that reveal server versions, frameworks, or infrastructure details.
What the Security Score Means
- Excellent (80-100%): Most critical headers are present and properly configured.
- Good (60-79%): Major security headers are in place with room for improvement.
- Fair (40-59%): Some headers missing; security could be significantly improved.
- Poor (<40%): Critical headers are missing; site is vulnerable to common attacks.
Use Cases
- Security audits: Verify your own site's header configuration before launch.
- Compliance checks: Ensure headers meet security standards and policies.
- Third-party audits: Evaluate partner sites or vendor security configurations.
- Continuous monitoring: Track header changes over time.
Best Practices
- Enable HSTS with max-age of at least 1 year and includeSubDomains.
- Use a strict CSP that avoids unsafe-inline and unsafe-eval when possible.
- Set X-Frame-Options to DENY or SAMEORIGIN based on your needs.
- Always include X-Content-Type-Options: nosniff.
- Remove information-disclosing headers like X-Powered-By and Server.