الدخول والصلاحيات / Sign-in and permissions

الترتيب / Order
4 من 4 / 4 of 4
آخر تحديث / Updated
8 أكتوبر 2026 / 8 October 2026

أهداف الدرس

  1. أن تفرّق بين «من أنت» و«ماذا يُسمح لك».
  2. أن تعرف مزايا الدخول الموحّد.
السؤالالاسممثال
من أنت؟المصادقةحساب الكلية
ماذا يُسمح لك؟التفويضالمدرّس يعدّل صفحته فقط

في الدخول الموحّد يكون للكلية حساب واحد لكل شخص، وكل نظام يثق بهذا الحساب بدل أن يحفظ كلمات مرور خاصة به.

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

الأسرار — كلمات المرور ومفاتيح الربط — لا تُكتب في الشيفرة أبداً.

تمرين

لماذا لا يكفي أن يدخل المستخدم بنجاح ليعدّل أي صفحة؟

الإجابة

لأن الدخول يجيب «من أنت» فقط؛ التعديل يحتاج أيضاً «هل هذه صفحتك؟».

Lesson goals

  1. Tell «who you are» from «what you may do».
  2. Know the benefits of single sign-on.
QuestionNameExample
Who are you?AuthenticationYour college account
What may you do?AuthorizationA teacher edits only their own site

With single sign-on the college keeps one account per person, and every system trusts it instead of keeping passwords of its own.

  • One password to remember.
  • Disabling the account stops sign-in everywhere at once.
  • Systems never hold passwords.

Secrets — passwords and keys — never go in the code.

Exercise

Why is signing in not enough to edit any page?

Answer

Sign-in answers «who you are» only; editing also needs «is this your site?».

التعليقات / Comments

لا تعليقات بعد. كن أول من يسأل. / No comments yet. Be the first to ask.

تعليق الطالب يظهر فوراً، وتعليق الزائر بعد موافقة المدرّس. / A student's comment shows at once; a visitor's once the teacher approves it.

في «الخوادم والواجهات البرمجية» / In “Servers and APIs”

  1. 1الطلب والرد / Request and responseفيها كود / has codeالتعليقات مفتوحة / comments open
  2. 2واجهة برمجية واضحة / A clear APIفيها كود / has codeالتعليقات مفتوحة / comments open
  3. 3رحلة الطلب / A request's journeyفيها صور / has picturesالتعليقات مفتوحة / comments open
  4. 4الدخول والصلاحيات / Sign-in and permissionsالتعليقات مفتوحة / comments open

↑ ↓ للتنقل · Enter للفتح · Esc للإغلاق↑ ↓ to move · Enter to open · Esc to close