Generated CSP Header
Security Warnings:
- style-src includes 'unsafe-inline'. Consider nonce/hash based styles.
Assemble a Content-Security-Policy header with report-only mode, directives and examples.
Choose report-only or enforce mode, select directives — default-src, script-src, style-src, img-src, connect-src, frame-ancestors and more — fill their values, and the tool emits a single-line CSP header with sensible defaults explained. Copy it into your server config and validate in report-only mode first. It is a building aid, not a security guarantee.
Common questions and helpful answers about this utility.