Browser & Web Performance · Junior · Question 63 of 75

What is Content Security Policy (CSP)?

Explanation

CSP is a second line of defense: even if markup is injected, scripts not allowed by the policy won't run.

Further reading

Problem with a question

Browser & Web Performance · Junior · question 63

Test yourself

Take the Browser & Web Performance · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz