Content Security Policy
English

Content Security Policy

by

What is Content Security Policy AKA CSP. Why is it needed? How to use it?

A Content Security Policy (CSP) is a web security feature that helps prevent client-side attacks like XSS, clickjacking, and data injection attacks.

CSP is an HTTP response header that tells the browser which sources of content (like scripts, images, styles, fonts, etc.) are trusted.

1