Content Security Policy Builder
Choose trusted sources for your site, review what each directive controls, and save a defensive policy draft.
Start with a Draft
Loaded as Editable Rules
Policy Defaults
The starting draft allows same-origin scripts and blocks object loading, base URL overrides and external embedding.
Resource Rules
Document Rules
Policy Progress
Review Policy Draft
Review Permissions
What This Draft Controls