Skip to content

Content Security Policy

Published on

Content Security Policy is an effective "defense in depth" technique that helps prevent content injection attacks. It is a declarative policy that informs the user agent what valid sources to load from are. Explore Content Security Policy headers, source lists, and policy directives and how to implement CSP based on example policies.