استخدام التحقُّق المُثنَّى من الهُوِيَّة two-factor authentication
التحقُّق المُثنَّى من الهُوِيَّة two-factor authentication (2FA) هي طريقة لحماية حسابك على نكست كلاود من الوصول غير المصرح به. إنه يعمل عن طريق طلب "إثباتين" مختلفين لهويتك. على سبيل المثال، * شيء تعرفه * (مثل كلمة المرور) و * شيء لديك * مثل مفتاح مادي على فلاش مثلاً. عادةً ما يكون العامل الأول هو كلمة المرور التي لديك بالفعل ويمكن أن يكون العامل الثاني رسالة نصية تتلقاها أو رمزاً تُنشِئُه على هاتفك أو جهاز آخر (* شيء لديك*). تدعم نكست كلاود مجموعة متنوعة من العوامل الثانية؛ كما يمكن إضافة المزيد.
Once a two-factor authentication app has been enabled by your administrator, you can enable and configure it in تعيين تفضيلاتك.
إعداد التحقُّق المُثنَّى من الهُوِيَّة two-factor authentication 2FA
In your personal settings, look up the Second-factor Auth setting. In this example this is TOTP, a Google Authenticator compatible time-based code:
سترى سرك و رمز الاستجابة السريعة QR الذي يمكنم مسحه ضوئيًا بواسطة تطبيق TOTP على هاتفك (أو أي جهاز آخر). اعتماداً على التطبيق أو الأداة، اكتب الرمز أو امسح رمز الاستجابة السريعة ضوئيًا وسيعرض جهازك رمز تسجيل الدخول الذي يتغير كل 30 ثانية.
Recovery codes if you lose your second factor
You should always generate backup codes for 2FA. If your second factor device gets stolen or stops working, you can use one of these codes to unlock your account. It effectively functions as a backup second factor. To get the backup codes, go to your personal settings and look under Second-factor Auth settings. Choose Generate backup codes:
You will then see a list of one-time-use backup codes:
Store these codes somewhere safe where you can find them. Do not keep them with your second factor (such as your mobile phone), but store them separately so that losing one does not mean losing the other.
الدخول عن طريق التحقُّق المُثنّى
After you log out and log in again, you will see a prompt to enter the TOTP code in your browser. If you have enabled more than one second factor, you will see a selection screen where you can choose which method to use for this login. Select TOTP:
الآن، فقط أدخِل رمزك:
إذا كان الرمز صحيحًا، فسيتم توجيهك إلى حسابك على نكست كلاود.
ملاحظة
Since the code is time-based, it is important that your server's and your smartphone's clock are almost in sync. A time drift of a few seconds won't be a problem.
استخدام التحقُّق المُثنّى من الهُوِيَّة مع أَمَارَات مخزنة على أجهزة hardware token.
يمكنك استخدام التحقق المثنى من الهوية بناءً على أَمَارَات الأجهزة hardware tokens. الأجهزة التالية معروفٌ أنها تعمل كما يجب:
إستناداً إلى "كلمة سر لمرة واحدة مقيدة زمنياً" TOTP.
مبني على FIDO2
إستعمال تطبيقات عميلة client apps بالتحقُّق المُثَنَّى من الهُوِيَّة
Once you have enabled 2FA, your clients will no longer be able to connect with just your password unless they also have support for two-factor authentication. To solve this, you should generate device-specific passwords for them. See إدارة المتصفحات والأجهزة المتصلة for more information on how to do this.
إعتبارات
If you use WebAuthn to log in to your Nextcloud, be sure to not use the same token for 2FA, as this would mean you are again only using a single factor.