Skip to content
SEO Optimizer is live, Audit on page SEO and AI-search readiness. Try it free
متقدّمWebsite Security

Content Security Policy in Depth

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

  • 1 س 40 د
  • 6 دروس
  • احصل على شهادة قابلة للتحقق
  • حُدّثت في 21‏/11‏/2026

ما ستتعلّمه

  • 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 failدرسان · 18 دقيقة · اختبار الوحدة

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

2Deploying a nonce-based policyدرسان · 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 Typesدرسان · 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 أسئلة
Content Security Policy in Depth: final exam10 أسئلة · 80% للنجاح · 25 دقيقة

قبل أن تبدأ

يُنصح بها أولًا:

احصل على شهادة قابلة للتحقق

اجتز الامتحان النهائي لتحصل على شهادة 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 أخذ هذه الدورة واختباراتها وامتحانها والحصول على الشهادة دون مقابل.

لكل شهادة معرّف فريد وصفحة عامة دائمة على scanverra.com/certifications/verify. تتحقق الصفحة من التوقيع الرقمي وتوضح هل الشهادة صالحة أم منتهية أم ملغاة.

يمكنك إعادته بعد فترة الانتظار المذكورة أعلاه. تظهر الأسئلة بترتيب جديد في كل محاولة.

نعم. يُحفظ موضعك وملاحظاتك وموضع الفيديو، فتتابع على أي جهاز.