How to turn on two-factor authentication
A second, independent check beyond the password, so a leaked or guessed password on its own is no longer enough to get in.
A password is a single piece of information, and single pieces of information leak — through a breach at an unrelated service, a phishing page, or malware sitting on a shared device. Two-factor authentication adds a second, independent check on top of the password, so having the password alone is no longer enough to sign in. It is one of the highest-value security changes available for the effort involved, and it takes a few minutes per account to set up.
How it actually works
After entering the correct password, you are asked for a second piece of proof — most commonly a six-digit code that changes every thirty seconds, generated by an app on your phone rather than sent anywhere over the network. The app and the service both calculate the same code independently, using a shared secret set up once during enrolment and the current time, which is why the codes match without needing to be transmitted between them.
A code sent by text message can potentially be intercepted through an attack that transfers your phone number to another device, which the network operator, not you, is responsible for verifying correctly. An authenticator app avoids that specific weakness entirely, since the code never travels over the phone network at all.
Setting it up
The exact wording differs between services, but the process is consistent almost everywhere:
-
Install an authenticator app first
Any reputable time-based one-time passcode app works, and one is enough to manage codes for every account you set up this way — you do not need a separate app per service.
-
Find the two-factor authentication option in account security settings
In your control panel, and separately in your CMS admin area if it offers this independently, look under account security or login settings.
-
Scan the code shown during setup
This is usually a QR code, which the authenticator app scans using your phone's camera to set up the shared secret, without you needing to type anything manually.
-
Confirm with a live code
Enter the six-digit code currently showing in the app to prove the setup succeeded before it is switched on for real.
-
Save the backup codes immediately
Write them down or store them in a password manager, somewhere other than the phone running the authenticator app. These are the only way back in if that device is lost, damaged, or replaced.
Losing access to the authenticator app without saved backup codes can mean a genuinely slow account recovery process, since the service has to verify your identity through another method entirely. Saving the codes takes a few seconds during setup and is far less trouble than needing them later without having them.
Which accounts to enable it on
Prioritise accounts in proportion to what they can reach if compromised:
- Your control panel account — reaches hosting, domains and email settings for everything on the account.
- Your CMS administrator account — direct access to your site's content and configuration.
- Your domain registrar account — controls where your domain points, and losing it can mean losing the domain itself.
- Your email account — usually the account used to reset passwords everywhere else, which makes it a priority even though it is not directly part of your website.
If a service only offers a text message code
Not every service supports an authenticator app, and some only offer a code sent by SMS. This is still a meaningful improvement over a password on its own, and it is worth enabling rather than skipping while waiting for a better option to appear. Treat an authenticator app as the preferred method wherever it is offered, and SMS-based codes as a reasonable fallback where it is the only option available, rather than a reason to leave two-factor authentication off entirely on that account.
What it does and does not protect against
Two-factor authentication specifically stops a leaked or guessed password being enough on its own, which covers the majority of account takeover attempts. It does not protect against every scenario — a sufficiently convincing phishing page can, in some cases, capture a one-time code in real time as well as a password, so continuing to check the actual address of any login page before entering anything remains worthwhile. It is a substantial improvement over a password alone, not a guarantee that makes every other precaution unnecessary.
Once this is set up on your important accounts, pair it with a genuinely strong, unique password for each one, and consider limiting repeated login attempts as an additional layer on top.
Frequently asked questions
What if I lose my phone with the authenticator app on it?
This is exactly what backup codes are for. Each one lets you sign in once without the app, buying time to set up two-factor authentication again on a new device. Without saved backup codes, recovering an account can be a slow process involving proving ownership another way, so save them before you need them, not after.
Related reading
Length beats complexity, reuse is the actual weakness, and a password manager quietly solves both problems at once.
How to stop brute-force login attacksAutomated tools quietly try thousands of guesses against your login form. A few layered defences make that approach stop being worthwhile.
What to do first if your website is hackedA calm, ordered checklist for the first hour: contain it, change every credential, restore clean, then find how it got in.
A practical website security checklistThe handful of specific, checkable things that account for most of what a secure website setup actually needs, in the order to do them.