Skip to content
SEO Optimizer is live, Audit on page SEO and AI-search readiness. Try it free
AvançadoWebsite Security

Content Security Policy in Depth

Design, deploy and maintain a strict CSP that actually stops cross-site scripting.

  • 1 h 40 min
  • 6 aulas
  • Receba um certificado verificável
  • Atualizado em 21 de nov. de 2026

O que você vai aprender

  • Explain why allow-list policies fail and strict policies work
  • Deploy a nonce-based policy with strict-dynamic
  • Roll out with report-only mode and handle violation reports
  • Use Trusted Types to remove DOM XSS sinks

Habilidades que você vai desenvolver

  • CSP
  • Nonces
  • Strict-dynamic
  • Trusted types
  • XSS

Sobre este curso

Most Content Security Policies on the web give almost no protection: they allow-list large CDNs, keep 'unsafe-inline', or never leave report-only mode. This course shows how to build a strict policy that blocks injected scripts, roll it out without breaking production, and keep it healthy as the site changes.

Pass the final exam to earn the Scanverra Certified CSP Expert certificate.

Conteúdo programático

3 módulos · 6 aulas · 100 min

1Why most policies fail2 aulas · 18 min · Questionário do módulo

How allow-lists get bypassed and what a strict policy looks like.

2Deploying a nonce-based policy2 aulas · 18 min · Questionário do módulo

Generating nonces, wiring them into templates and dealing with third-party tags.

  • Nonces from server to template10 min
  • Third-party tags and tag managers8 min
  • Deploying a nonce-based policy: quiz3 questões
3Rollout, reporting and Trusted Types2 aulas · 18 min · Questionário do módulo

Shipping without breaking production, then going further than script blocking.

  • Report-only, then enforce9 min
  • Trusted Types for DOM XSS9 min
  • Rollout, reporting and Trusted Types: quiz3 questões
Content Security Policy in Depth: final exam10 questões · 80% para passar · 25 minutos

Antes de começar

Recomendado antes:

Receba um certificado verificável

Passe no exame final para receber um certificado Expert assinado, com uma página de verificação permanente para mostrar a empregadores.

  • 80% para passar
  • 25 minutos
  • 3 tentativas
  • 24 horas entre tentativas

Válido por 24 meses, renovável refazendo o exame.

Seu instrutor

Scanverra Research Team

Security, performance and search specialists at Scanverra

The team that builds Scanverra's scanners. Every lesson is based on problems we find on real websites every day.

FAQ

Perguntas sobre este curso

Sim. Toda conta Scanverra pode fazer este curso, seus questionários e o exame, e receber o certificado sem custo.

Cada certificado tem um ID único e uma página pública permanente em scanverra.com/certifications/verify. A página confere a assinatura digital e mostra se ele é válido, expirado ou revogado.

Você pode refazê-lo após o período de espera indicado acima. Cada tentativa mostra as questões em nova ordem.

Sim. Sua posição, suas notas e a posição do vídeo são salvas, então você pode continuar em qualquer dispositivo.