Generated CSP Header
Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; object-src 'none'
HTML Meta Tag
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; object-src 'none'">
Configure Directives
default-src
Fallback for other directives
script-src
Valid sources for JavaScript
style-src
Valid sources for stylesheets
img-src
Valid sources for images
font-src
Valid sources for fonts
connect-src
Valid targets for fetch, XHR, WebSocket
media-src
Valid sources for audio/video
object-src
Valid sources for plugins (Flash, etc.)
frame-src
Valid sources for iframes
child-src
Valid sources for web workers and frames
worker-src
Valid sources for Worker/SharedWorker
frame-ancestors
Valid parents that can embed this page
form-action
Valid endpoints for form submissions
base-uri
Restricts the <base> element
upgrade-insecure-requests
Upgrade HTTP requests to HTTPS