TL;DR Two Factor Authentication
Two factor authentication, often abbreviated as 2FA, is a security method that requires you to verify your identity using two separate pieces of evidence before you are granted access to an account. The first factor is typically something you know, like your password. The second factor is something you have, such as a code generated by an authenticator app on your phone, a hardware security key, or a code sent via SMS. Even if an attacker obtains your password through a brute force attack, a data breach, or phishing, they still cannot access your account without the second factor. For hosting accounts in particular, two factor authentication is one of the most impactful security steps you can take because your hosting account controls everything underneath your website. CloudSonic recommends enabling two factor authentication on your account and on your WordPress admin login, and it pairs well with SSH key authentication at the server level for a fully hardened access setup.
How Two Factor Authentication Works
Two factor authentication adds a second verification step to the login process that requires something you have in addition to something you know. The most common implementation uses a time-based one-time password, or TOTP, generated by an authenticator app like Google Authenticator or Authy. When you enable TOTP-based 2FA on an account, you scan a QR code with your authenticator app which encodes a shared secret. From that point on, your authenticator app uses that secret combined with the current time to generate a six digit code that changes every 30 seconds. When you log in you enter your password as normal and then enter the current code from your app. The server performs the same calculation using the shared secret and the current time and verifies that your code matches. Because the code changes every 30 seconds and is based on a secret that never leaves your device, it cannot be reused or predicted even if someone intercepts it.