A stolen password is useless to an attacker who also needs your phone or security key. Two-factor authentication (2FA) blocks the vast majority of automated account takeovers. Passkeys go one step further and remove the password altogether.
The methods compared
| Method | Security | Phishing-resistant |
|---|---|---|
| SMS code | Basic | No |
| Email code | Basic (depends on your email security) | No |
| Authenticator app (TOTP) | Good | No |
| Push approval in an app | Good, with number matching | Partly |
| Hardware security key | Very good | Yes |
| Passkey | Very good | Yes |
Passkeys
A passkey is a cryptographic key pair: the private key stays on your device or in your password manager, the website only stores the public key. You log in with your fingerprint, face or device PIN. Because a passkey only works on the real website’s domain, a fake login page cannot capture it.
Which accounts first
- Email – it can reset every other password.
- Domain registrar and DNS provider.
- Hosting and server accounts.
- CMS admin accounts.
- Payment providers and bank.
- Social media and advertising accounts.
Adding 2FA to your own website
Most CMSs support 2FA for administrators, often through a plugin. Require it for every account with editor or admin rights (see user accounts and access and WordPress security).
Frequently asked questions
Is SMS two-factor authentication still worth using?
Yes, it is much better than nothing. But SMS can be intercepted or redirected through SIM swapping, so prefer an app, security key or passkey for important accounts.
What happens if I lose my phone?
Use your recovery codes or a second registered method to get back in. That is why you should always set up a backup method.