HTTP Security Headers Guide

A guide to configuring essential HTTP security headers including HSTS, CSP, X-Frame-Options, and more.

Diagnose your site now

Problem

A security audit shows that essential HTTP security headers like CSP and HSTS are missing.

Top 3 Causes

  1. Not configured by default — Web server default configurations do not include security headers.
  2. CDN override — The CDN may strip or overwrite headers set by the origin server.
  3. Configuration conflicts — Headers defined in multiple configuration files may conflict and fail to apply.

Diagnosis with DechoNet

  • HTTP Check — See the security header status at a glance.

Resolution Checklist

  • HSTS: Strict-Transport-Security: max-age=31536000; includeSubDomains
  • CSP: Content-Security-Policy: default-src 'self' (extend as needed)
  • X-Frame-Options: SAMEORIGIN
  • X-Content-Type-Options: nosniff
  • Referrer-Policy: strict-origin-when-cross-origin

Related Tools

Related Guides

Share this guide

[Ad] Guide Detail Inline
← Back to All Guides