Web features explorer

Content Security Policy (CSP)

Widely available since 2019-02-02
Tags: api html http Groups: Security

Content Security Policy (CSP) helps to mitigate certain security threats, including cross-site scripting (XSS) and clickjacking attacks. It consists of a set of directives from a website to a browser, which instruct the browser to restrict the things that the site is allowed to do.

Learning resources on MDN

Browser support (view on caniuse.com)