Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Content-Security-Policy

The Content Security Policy module enables configuring headers for your site, automatically adding necessary sources for your site's libraries, in order to protect against Cross-Site Scripting and other vulnerabilities.

For more information on implementing a Content Security Policy:

Altering a site's policy

How to dynamically add additional values to a CSP header

Upgrading from 1.x to 2.x

Steps for upgrading CSP from 1.x to 2.x

Frequently Asked Questions

Frequently Asked Questions about Content Security Policy

Guide maintainers

gapple's picture