Content Security Policy in Depth
Design, deploy and maintain a strict CSP that actually stops cross-site scripting.
- 1 h 40 min
- 6 lecciones
- Obtén un certificado verificable
- Actualizado el 21 nov 2026
Lo que aprenderás
- 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 desarrollarás
- 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.
Temario
3 módulos · 6 lecciones · 100 min
1Why most policies fail2 lecciones · 18 min · Cuestionario del módulo
How allow-lists get bypassed and what a strict policy looks like.
- Allow-lists versus strict policiesVista previa10 min
- The other directives that matter8 min
- Why most policies fail: quiz3 preguntas
2Deploying a nonce-based policy2 lecciones · 18 min · Cuestionario del 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 preguntas
3Rollout, reporting and Trusted Types2 lecciones · 18 min · Cuestionario del 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 preguntas
Antes de empezar
Recomendado antes:
Obtén un certificado verificable
Aprueba el examen final para recibir un certificado Expert firmado con una página de verificación permanente que puedes mostrar a empleadores.
- 80 % para aprobar
- 25 minutos
- 3 intentos
- 24 horas entre intentos
Válido durante 24 meses, renovable repitiendo el examen.
Tu instructor
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.
Qué aprender después
- Website SecurityPrincipiante1 h 35 min
Website Security Fundamentals
HTTPS, security headers and cookies: the controls every public website needs.
6 leccionesCertificado - Website SecurityIntermedio1 h 25 min
TLS and Certificate Management
Modern TLS settings, automated renewals and the DNS records that stop rogue certificates.
6 leccionesCertificado
Preguntas sobre este curso
Sí. Cualquier cuenta de Scanverra puede hacer este curso, sus cuestionarios y el examen, y obtener el certificado sin coste.
Cada certificado tiene un ID único y una página pública permanente en scanverra.com/certifications/verify. La página comprueba la firma digital e indica si es válido, ha caducado o se ha revocado.
Puedes repetirlo tras el periodo de espera indicado arriba. Cada intento muestra las preguntas en un orden nuevo.
Sí. Se guardan tu posición, tus notas y la posición del vídeo, así que puedes seguir en cualquier dispositivo.