Explore Library

36 items

FlashcardIntermediate

Content Security Policy as XSS Defense

CSP is an HTTP header that restricts which script sources browsers will execute, mitigating XSS.

Question

How does Content Security Policy (CSP) help defend against XSS?

Click to reveal answer