Security Tools
CSP Header Generator
🛡️

CSP Header Generator

Build Content Security Policy headers for scripts, styles, images, fonts and other directives.

Directives
Generated Header
Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-src 'none'; object-src 'none'

Add this HTTP response header to your server configuration.