Domain 05 · Intermediate
الأمان والاختبار
Security & Software Testing
الأمان والاختبار مش اختياريين لأي جونيور.
0 / 9
أهداف المجال
- تطبّق authentication بـ Identity/JWT مع refresh token rotation.
- تكتب authorization بـ roles و policies و resource-based.
- تحمي الـ API من OWASP Top 10: injection, XSS, CSRF, SSRF.
- تكتب unit و integration tests ليها معنى.
المتطلبات
Web API شغال بقاعدة بيانات (المجالات 03 و04).
- المجال 03: Backend Engineering & Web Development
- المجال 04: Database Engineering & Data Management
معيار الإتمام
تأمّن API حقيقي وتكتب له tests تثبت إن user A مش قادر يوصل لبيانات user B.
الدروس
Lessons, in study order- 5.1 · Essential
ASP.NET Core Identity
ASP.NET Core Identity: إدارة المستخدمين وكلمات المرور والجلسات - 5.2 · Essential
JWT Authentication
JWT Authentication: فهم التوقيع والتحقق وRefresh Token Rotation - 5.3 · Essential
Authorization
Authorization في ASP.NET Core: Policies وResource Ownership ومنع IDOR - Pillar · Essential
Authentication & Authorization Foundations (pillar)
Authentication & Authorization: الصورة الكاملة من تسجيل الدخول إلى قرار الوصول - 5.4 · Important
CORS
CORS: Same-Origin Policy وPreflight وCredentials في ASP.NET Core - 5.5 · Important
Rate Limiting
Rate Limiting في ASP.NET Core: حماية الموارد بعدل - 5.6 · Essential
Secure Coding
Secure Coding: حماية ASP.NET Core API من أخطاء التطبيق الشائعة - 5.7 · Essential
Unit Testing
Unit Testing في .NET: من AAA إلى Integration وTestcontainers - Pillar · Essential
Contract Testing (Pact) and BDD (Reqnroll)
Contract Testing بـ Pact وBDD بـ Reqnroll: وربطهم بالـ CI