Content-Security-Policy (CSP Level 3) Directives
Core directives mitigating XSS, clickjacking, and data injection.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.0.0
| Directive | Recommended Hardened Value | Protection |
|---|---|---|
| default-src | 'self' | Default fallback for all fetch types |
| script-src | 'self' | Block inline/third-party script injection |
| object-src | 'none' | Disable legacy plugin execution |
| frame-ancestors | 'none' | Prevent clickjacking (supersedes X-Frame-Options) |
Technical Explanation
Core directives mitigating XSS, clickjacking, and data injection. Filter any row live in your browser or export CSV/JSON for documentation and engineering workflows.
Worked Examples
- Type a keyword in the filter bar above or export the verified standards table as CSV/JSON.
Limitations & Assumptions
- Consult the linked primary specification for complete normative clauses and platform-specific extensions.
Source References & Verification
Resource ID: ref-csp-directives-reference · Independently verified: 2026-11-25