Content Security Policy in Depth
Design, deploy and maintain a strict CSP that actually stops cross-site scripting.
- 1 時間 40 分
- 6 レッスン
- 検証可能な修了証を取得
- 2026/11/21 更新
学べること
- 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
身につくスキル
- CSP
- Nonces
- Strict-dynamic
- Trusted types
- XSS
このコースについて
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.
カリキュラム
3 モジュール · 6 レッスン · 100 分
1Why most policies fail2 レッスン · 18 分 · モジュールクイズ
How allow-lists get bypassed and what a strict policy looks like.
- Allow-lists versus strict policiesプレビュー10 分
- The other directives that matter8 分
- Why most policies fail: quiz3 問
2Deploying a nonce-based policy2 レッスン · 18 分 · モジュールクイズ
Generating nonces, wiring them into templates and dealing with third-party tags.
- Nonces from server to template10 分
- Third-party tags and tag managers8 分
- Deploying a nonce-based policy: quiz3 問
3Rollout, reporting and Trusted Types2 レッスン · 18 分 · モジュールクイズ
Shipping without breaking production, then going further than script blocking.
- Report-only, then enforce9 分
- Trusted Types for DOM XSS9 分
- Rollout, reporting and Trusted Types: quiz3 問
始める前に
先に受講をおすすめ:
検証可能な修了証を取得
最終試験に合格すると、雇用主と共有できる永続的な検証ページ付きの署名済み Expert 修了証を受け取れます。
- 合格ライン 80%
- 25 分
- 3 回
- 受験の間隔 24 時間
有効期間は 24 か月。試験の再受験で更新できます。
講師
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.
次に学ぶ
このコースに関する質問
はい。Scanverra のすべてのアカウントで、このコース、クイズ、試験を受け、修了証を無料で取得できます。
各修了証には固有の ID と、scanverra.com/certifications/verify の永続的な公開ページがあります。ページはデジタル署名を確認し、有効、期限切れ、失効のいずれかを表示します。
上記の待機時間のあとに再受験できます。受験ごとに問題の順番が変わります。
はい。進み具合、メモ、動画の再生位置が保存されるので、どのデバイスからでも続けられます。