Two-factor authentication (2FA) adds a second verification step beyond the password. Even if a password is phished, the attacker cannot complete the second factor — which is why 2FA blocks the majority of account-takeover attempts.
Supported Second Factors
- Authenticator app (TOTP): Google Authenticator, Microsoft Authenticator, Authy, 1Password, Bitwarden — anything that supports RFC 6238.
- SMS code: 6-digit code texted to the user's mobile.
- Email code: Code emailed (least secure, useful only as fallback).
- Passkey / WebAuthn: Cryptographic factor using device biometrics or hardware keys (FIDO2).
- Recovery codes: One-time backup codes generated at enrolment.
Enabling Globally
- Open Site Settings → Security → Two-Factor Authentication.
- Tick which second-factor methods are allowed.
- Decide whether 2FA is optional, encouraged with a banner, or enforced for all users.
- Set the prompt frequency — every sign-in, every 30 days, or whenever the device fingerprint changes.
Worked Examples
- SaaS roll-out: Phase 1 — enable optional; Phase 2 — enforce for admins; Phase 3 — enforce for everyone.
- Healthcare: Mandatory 2FA for clinicians, prompt every sign-in (no remember-device).
- Marketplace: Optional 2FA for buyers, mandatory for sellers handling payouts.
- Internal app: Mandatory passkey for admin group, optional TOTP for everyone else.