Two-factor authentication (2FA) is much more secure than password-only authentication. Users will need to install an app and use it every time they log in to cPanel.
To secure your hosting account, you can enable two-factor authentication in cPanel using the free Google Authenticator app available for iOS and Android.
First, log in to cPanel and select Two-Factor Authentication from the Security section.

On the next page, click the Set Up Two-Factor Authentication button.
Open the Google Authenticator app on your phone, scan the QR code on the screen, and the app will generate a six-digit code that you need to enter in the Step 2 field labeled Security Code.

After successfully setting up 2FA, you will see the following message in cPanel.

You will also receive a confirmation email at the address associated with your cPanel account.

To disable 2FA protection, click the Remove Two-Factor Authentication button in the same cPanel section.

Each time you log in to cPanel, after entering your username and password, a field will appear where you need to enter the code generated by the Google Authenticator app. The code regenerates every 60 seconds, making unauthorized access to your cPanel account practically impossible.
