FlashcardIntermediate

Content Security Policy (CSP) directives and configuration

CSP is an HTTP response header that restricts which content sources a browser may load, helping mitigate XSS and injection attacks.

Question

What is a Content Security Policy and how is it configured?

Click to reveal answer