Content Security Policy

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

After a cross-site scripting scare, a colleague suggests adding a Content Security Policy. Explain what a Content Security Policy is, how it limits the damage of injected scripts, and how you'd roll one out without breaking the site.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →