How to Set Up Two-Factor Authentication (2FA) for Your WebHostingM Plesk Print

  • Plesk, Plesk Security, Two-Factor Authentication, Multi-Factor Authentication
  • 0

 

While strong passwords offer a good foundation for security, they are not impenetrable. A determined attacker with sufficient time and resources can potentially compromise even complex passwords through brute-force methods or other techniques.

Two-factor authentication (2FA) adds a crucial second security layer to your Plesk account, dramatically increasing your protection against unauthorized access. This additional security layer requires something you know (your password) and something you have (your mobile device).

With multi-factor authentication enabled, an attacker would need both your password and physical access to your mobile device to gain entry to your account. This significantly reduces the risk of unauthorized access, even if your password is somehow compromised.

Key Terms for Beginners

  • MFA (Multi-Factor Authentication): A security method that requires users to provide two or more verification factors to gain access to a resource.
  • 2FA (Two-Factor Authentication): A subset of MFA that requires exactly two different verification factors.
  • One-Time Password (OTP): An automatically generated code that is valid for only one login session or transaction.
  • Authenticator App: A mobile application that generates verification codes for 2FA.
  • QR Code: A type of barcode that contains information that can be quickly scanned by a smartphone camera.
  • Brute-Force Attack: A method where attackers try many passwords hoping to eventually guess correctly.
Disclaimer: Before implementing these security changes, we recommend testing in a non-production environment first. This documentation may be updated periodically - always check our knowledge base for the most recent version. If you lose access to both your password and authentication device, account recovery can be complex.

Prerequisites

Step-by-Step Guide to Enabling MFA in Plesk

Step 1: Access Your Plesk Dashboard

  1. Log into your Plesk Control Panel using your existing credentials.
  2. Navigate to "My Profile" in the top-right corner of the screen.
  3. Scroll down until you locate the "Multi-Factor Authentication (MFA)" section.
  4. Click the link within this section to continue.
Note: The Multi-Factor Authentication (MFA) extension comes pre-installed with Plesk by default. If you don't see the MFA option, you may need to install the extension manually through the Plesk Extensions catalog.

Step 2: Enable Multi-Factor Authentication

  1. On the MFA configuration page, check the box labeled "Enable Multi-factor Authentication".
  2. A QR code will appear on your screen. This code contains the information needed to link your Plesk account with your authenticator app.

Step 3: Configure Your Authenticator App

  1. Open your chosen authenticator app on your mobile device.
  2. Use the app's "Add Account" or "+" feature to add a new account.
  3. Select the option to scan a QR code.
  4. Point your device's camera at the QR code displayed on your Plesk screen.
  5. After scanning, your authenticator app will display your Plesk server's hostname and a six-digit verification code.
Important Backup Procedure: Most authenticator apps store the authentication seeds only on your specific device. If you lose your device or need to switch phones, you'll lose access to these codes. We strongly recommend you take a screenshot of the QR code and store it securely (such as in an encrypted file or password manager). This will allow you to set up the same authentication on a new device if needed.

Step 4: Verify and Complete Setup

  1. Enter the six-digit verification code from your authenticator app into the verification field in Plesk.
  2. If the code is correct, MFA will be successfully enabled for your account.

Step 5: Configure the "Remember Device" Feature (Optional)

  1. If you don't want to enter a verification code each time you log in, you can select the "Enable the 'Remember Device' feature" checkbox.
  2. Specify the number of days you want your device to be remembered.
Warning: Only enable the "Remember Device" feature on your personal, secure devices. Enabling this on shared or public computers could allow unauthorized users to access your Plesk account.

Managing Your MFA Settings

How the "Remember Device" Feature Works

  • When enabled, your browser will store a secure token for the specified number of days.
  • During this period, you will not need to enter verification codes when logging in from the same device and browser.
  • The token will expire when:
    • The specified time period elapses
    • You clear your browser cookies/cache
    • You use a different browser or device
  • When logging in from a new device, you'll always be prompted for a verification code, with an option to remember the new device.

Changing Your Authenticator Device

If you need to use a new mobile device or authenticator app:

  1. Log in to Plesk using your current authentication method.
  2. Navigate to "My Profile" and the MFA section.
  3. Disable two-factor authentication temporarily.
  4. Follow the steps above to re-enable MFA with your new device.

If you still have access to your old device, keep it until you've successfully set up MFA on your new device.

Troubleshooting and Account Recovery

If you lose access to both your password and authentication device:

  1. If you saved the QR code backup as recommended, you can use it to set up the authenticator on a new device.
  2. If you didn't save the QR code, you'll need to submit an account recovery request through our support system.
  3. For security purposes, you'll need to provide detailed verification information to confirm your identity.
  4. Once your identity is confirmed, our support team can disable MFA on your account, allowing you to regain access and set up a new authentication method.
For Team Accounts: If you are not the account owner, the primary account owner or an administrator can help reset your two-factor authentication through the Team settings page. This will trigger a recovery email to help you regain access.

Best Practices for MFA Security

  • Use a reliable authenticator app - Choose well-established apps with regular security updates.
  • Secure your backup QR code - If you save the QR code, store it securely in an encrypted file or password manager.
  • Keep your mobile device secure - Use biometric protection and screen locks on your authentication device.
  • Don't enable "Remember Device" on shared computers - Only use this feature on personal, secured devices.
  • Update your authenticator app regularly - This ensures you have the latest security features and bug fixes.
  • Consider using an authenticator with cloud backup - Apps like Authy can securely sync across devices, preventing lockouts due to lost phones.

Implementing Multi-Factor Authentication for your Plesk account significantly enhances your security posture. While it adds an additional step to the login process, the security benefits far outweigh this minimal inconvenience. By requiring both your password and a time-sensitive verification code, MFA effectively protects your Plesk account from unauthorized access, even if your password is compromised.

We strongly recommend that all users, especially those with administrative access to important servers or websites, enable this critical security feature.


Did this answer help?

« Back

Trusted by over 35,000 customers in over 200 countries