Content Security Policy Generator
Build a starting Content Security Policy from common source directives.
Generate a Content Security Policy
CSP restricts which resources a browser may load and can reduce the impact of injection vulnerabilities.
Begin with report-only testing and adapt the policy to resources your site genuinely needs.