Skip to main content

OWASP Security Headers

v1.0.1

Generate security response headers following OWASP best practices for your web application.

Generates security response headers following OWASP best practices — Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, Permissions-Policy, and cache control settings.

How to use
  • Select the security headers you need; each has a brief explanation of what it protects against.
  • Configure CSP directives using the interactive selector — the value is built automatically.
  • Copy the header block as nginx add_header, Apache Header, or Express middleware code.