Content Security Policy 101
summary
Explains Content Security Policy Level 2 mechanics: how to set the header, use nonces and hashes for inline scripts, and prefer default-src 'self' with progressive addition of domains. Shows using WP Content Security plugin or server headers, warns IE/Edge CSPv1 ignores nonces/hashes, and describes using report-only and a report-uri endpoint to collect violations. Reports a real run that produced 53 violation entries when starting with self-only, and recommends iterating from report-only to blocking.
AI-written summary · about
