ENع
الدرس 43 · Web and backend

Logins: authentication and sessions

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

When you log in, a website has to answer two questions: who are you, and what may you do? Follow Ada through signing up, logging in and staying logged in. The server never keeps her password, only a salted, slow hash; after a successful login it starts a session and hands her browser a session ID in a protected cookie. Then see two common additions: signed tokens (JWT) and a second factor.

12 دقيقة11 خطوات5 أسئلةIntermediate
شكل 43 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.