HTTP Security Headers Tool
Build hardened security header policies or audit existing server responses with instant configuration export for Nginx, Apache, and Vercel.
Forces browsers to connect via HTTPS only.
Prevents your site from being embedded inside an iframe on malicious sites.
Prevents browsers from MIME-sniffing a response away from declared content-type.
Controls how much referrer information is sent along with outbound requests.
Disables sensitive browser APIs and hardware features from being accessed by scripts or embedded iframes.
Mitigates XSS and data injection attacks by restricting origins of scripts, styles, and assets.
Generated Server Configurations
A+
All major defensive headers are configured.
Header Evaluation Breakdown
What are HTTP Security Response Headers?
HTTP Security Response Headers are specialized HTTP metadata fields returned by web servers that instruct modern browsers to enforce strict client-side defensive boundaries. By correctly implementing these headers, website owners can harden their web applications against clickjacking, cross-site scripting (XSS), cross-site leaks, SSL stripping, and malicious content sniffing without touching their core application code.
Key Capabilities & Features
- OWASP Best Practices: Built-in templates following the official OWASP Secure Headers Project standards.
- Multi-Server Export: Instant generation for Nginx (
add_header), Apache (.htaccess), Vercel/Next.js JSON, and Node.js Express. - Instant Security Auditor: Evaluates your live or copied HTTP response headers and produces an instant A+ to F grade with specific remediation snippets.
- Comprehensive Coverage: Controls CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Permissions-Policy.
Step-by-Step How It Works
- Choose a preset (Balanced or Strict) or toggle individual security headers according to your site's architecture.
- Select your server format (Nginx, Apache, or Vercel).
- Copy the configuration snippet and paste it directly into your virtual host or server config.
- Audit & verify your production response headers in the Auditor tab to verify an A+ grade.
Frequently Asked Questions
script-src or connect-src), the browser will block them. We recommend testing CSP in report-only mode (Content-Security-Policy-Report-Only) before enforcing it in production.
X-XSS-Protection: 1; mode=block. Security researchers discovered that this filter actually introduced side-channel vulnerabilities and information leaks. Modern web standards deprecate it in favor of a strong Content-Security-Policy (CSP).