Local StudioSECURITY TOOLS Content Security Policy Builder
100% Offline Download Tool Tools Catalog

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

Policy Defaults

The starting draft allows same-origin scripts and blocks object loading, base URL overrides and external embedding.

Resource Rules

Document Rules

Instructions

  1. Open the sample or a compatible local policy text draft, or start with the default settings.
  2. Choose rules and add only the intended hosts and source tokens.
  3. Build Policy and review directive effects and any broad-source notices.
  4. Select Enforcing HTTP Header, Report-Only HTTP Header, or HTML Meta Policy. Copy or download the displayed text.

A guided defensive profile with eleven directives and HTTP(S) host origins. Runs entirely offline.

Security Check

Content Security Policy Builder

Draft site policies on your device.

  • Open a DraftStart with the default rules or choose a supported policy text file.
  • Review PermissionsSelect origins and understand the effective source rules.
  • Save Policy TextCopy or save the HTTP, report-only or meta draft.

Local Security Check

Checking This Tool

Checking the launch, browser policy, and resources.

    These checks cover this tool page. Website links open only when selected.

    File Access

    The workbench prepares defensive policy text locally without contacting any entered host.