انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهJNR-037-L04

القوة الغاشمة (Brute force) والقفل والتقييد (Throttling)

  • الدرس 4 من 5
  • Junior
في هذا الدرس 4 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

slow down guessing without handing attackers a new weapon.

الموضوعات المخطط لها

  • Count failed logins per account and per IP; after a limit (for example 5), delay or block for a time.
  • Per-account lockout can be abused to lock real users out: a denial-of-service trade-off.
  • Prefer temporary lockouts or growing delays over permanent ones.
  • Combine with per-IP limits and, later, extra checks like MFA.
  • Answer the same way whether the email exists or not: "invalid email or password".
  • Password rules: favor length (for example 12 or more) over complex symbols; check against known breached passwords where possible (concept).
تفاصيل المخطط المبدئي

عرض عملي

a state diagram: attempt fails → counter + 1 → at 5, locked for 15 minutes → counter resets after success or timeout.

اختبر فهمك

What is the risk of locking an account after 5 failures?

أظهر الإجابة

An attacker can lock out real users on purpose.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.