HTTP Security Headers

HTTP response headers are how a server tells the browser how to treat a page — which scripts may run, whether the connection must be HTTPS, who may embed the content, and how cookies and caches behave. Set them well and an entire class of attacks disappears; set them poorly and a single missing line can expose users.

This section documents every major security and behaviour header: what it does, its correct syntax, at least one real example, the misconfigurations that bite in production, and how WebInspect grades it.