top of page

What is Two Factor Authentication?

Oct 26
10 min read
What is Two Factor Authentication?

 

Two factor authentication, often shortened to 2FA, is a way to sign in using evidence from two different types of authentication factor. A familiar example is a password you know followed by a code generated by an authenticator you control. If someone obtains only your password, the additional factor makes it harder for them to access the account.

 

The important word is different. A password followed by a separate PIN is two checks, but both are things you know. In strict factor terms, that is not two factor authentication. A well-designed 2FA setup also needs a secure recovery route: an attacker who can bypass the stronger sign-in through a weak reset process may not need to defeat the second factor at all.

 

What are the two factors?

 

Authentication checks evidence associated with an account. Factors are usually grouped into three categories:

 

Factor

What it means

Examples

Something you know

Information you can recall.

A password or PIN.

Something you have

An authenticator or device you control.

A security key or a phone with an authenticator app.

Something you are

A biometric characteristic used to verify you.

A fingerprint or face comparison.

 

Two factors must come from different categories. A password plus a one-time code from a registered authenticator can combine knowledge and possession. A security key protected by a local PIN can combine possession and knowledge within one authentication event, provided the system requires and verifies the appropriate user verification. Two passwords, or a password and a memorable answer, remain knowledge factors.

 

Biometrics need context. The NIST digital identity guidance explains that a biometric characteristic alone is not an authenticator. A fingerprint or face is commonly used locally to unlock an authenticator on a device. It is not a password sent to every website. The way the device, authenticator and service verify the user determines the actual assurance. Our authentication guide explains the wider process of verifying a claimed identity.

 

How two factor authentication works

 

A typical password-and-code setup follows this sequence:

 

  1. You sign in to the genuine service and enable its additional verification option.

  2. The service associates a supported authenticator with your account, often by showing a setup QR code.

  3. At a later sign-in, you enter your password and the service asks for the additional evidence.

  4. You provide a current code or complete the supported verification on the registered device.

  5. The service checks the evidence and, if its conditions are satisfied, creates a signed-in session.

 

A QR code used to enrol an authenticator can contain a secret. Treat it like a credential: do not post it, send it to someone claiming to provide support, or keep an unprotected screenshot. The setup flow, code lifetime, trusted-device options and recovery methods vary between services.

 

The illustration shows knowledge and possession as one common combination. A 2FA system can use other combinations; the important question is what the service actually verifies and how each factor is protected.

 

Two factor authentication infographic showing knowledge and possession factors, verification, method choice, phishing risks and account recovery

 

Two factor, two-step and multi-factor authentication

 

Two factor authentication uses two different factor types. Multi-factor authentication, or MFA, uses two or more. In normal consumer guidance, services often use 2FA, MFA and two-step verification to describe the same password-plus-code experience. Technically, two steps alone do not guarantee two independent factor types.

 

A single authenticator can combine factors without showing two separate prompts. For example, a device-held cryptographic credential may require local biometric or PIN verification before it can be used. Whether a particular sign-in qualifies as multi-factor depends on the authenticator, verification settings and service policy, not merely the number of screens shown. The MFA guide covers the broader model.

 

Common methods and their trade-offs

 

Method

How it works

Important limitation or decision

Authenticator app code

An app generates a changing one-time code using an enrolled secret.

Codes can be entered into a convincing phishing site and relayed. Protect enrolment and recovery.

SMS code

A code is sent to a registered mobile number.

It can be exposed through phishing, SIM-swap or phone-number takeover. It is still useful when stronger options are unavailable.

Push approval

A registered app receives a sign-in request for you to approve.

Unexpected prompts can be fraudulent. Check the context and use number matching where supported.

FIDO security key

A hardware authenticator performs a cryptographic challenge with a supported service.

Support, backup keys and any PIN or user-verification policy matter.

Passkey

A device or credential manager uses a cryptographic credential, often unlocked with a PIN or biometric.

It may be synced or device-bound; account recovery and the security of the sync account remain important.

Email code

A code is sent to an email account.

Its protection depends on the security and independence of that email account and the service's design.

 

These options are not interchangeable. A code from an authenticator app does not normally need a mobile signal once the app is correctly enrolled and the device clock is accurate. SMS depends on the phone network or the provider's delivery arrangements. Push approval needs the app to receive its request. Follow the service's own instructions for the method it supports.

 

The NCSC's 2-step verification guidance recommends protecting important accounts, particularly email, because an email account can be used to reset access to other services. If an account offers only SMS, using it is generally better than leaving a password as the sole protection while you consider the available alternatives.

 

Are passkeys and security keys 2FA?

 

A passkey uses public-key cryptography. The service stores a public key; the authenticator uses the associated private key to respond to a challenge. A device may require a PIN, password or biometric check before it can use the credential. That can provide possession plus local user verification without asking for a separate website password and code.

 

The NCSC recommends passkeys where available and explains their resistance to phishing. A properly implemented FIDO/WebAuthn sign-in is bound to the legitimate relying party, making it much harder for a lookalike site to obtain a reusable response. Check the service's requirements: a credential used without required user verification should not automatically be described as a two-factor event.

 

A passkey can be synced through a credential provider or tied to a particular device or security key, depending on the implementation. Syncing can make recovery easier, but places importance on protecting the account that synchronises the credentials. A hardware security key can hold a passkey or other credential; having a physical key does not by itself tell you whether a PIN or biometric is required for a particular operation.

 

Passwordless does not mean recoveryless. If a service retains a password and weaker recovery methods alongside a passkey, those paths still need protection. Keep a second registered key or another supported recovery method where appropriate, and confirm the service's own recovery process before removing an existing method.

 

Why a code is not necessarily phishing-resistant

 

An authenticator app or SMS code can stop an attacker who has only a stolen password. It can still be stolen in the moment. A fraudulent site can ask for both the password and current code, then relay them to the genuine service before the code expires. A legitimate HTTPS padlock alone does not prove that a site is the organisation you intended to visit.

 

A FIDO credential can bind authentication to the legitimate site. That makes it resistant to this form of credential phishing, although it does not protect against every attack. Malware on an unlocked device, a stolen session cookie, a malicious account recovery process or an attacker persuading someone to approve an action can still cause harm. The HTTPS guide explains what transport security does and does not establish.

 

Never share a one-time code or approve a request you did not initiate. If repeated prompts arrive, deny them, change the password through a trusted route and review the account's active sessions and security activity. Contact the service using its official site or known support channel, not a telephone number supplied in the unexpected message.

 

Recovery is part of the security design

 

A lost phone, damaged security key or inaccessible email account can lock out the legitimate owner. Plan recovery while you still have access:

 

  • Register a second supported authenticator or security key when the service permits it.

  • Save one-time recovery codes in a secure location separate from the device being protected. Treat them as credentials and use each as the service specifies.

  • Protect the email account, phone number and credential-manager account that can reset or restore access.

  • Check how to revoke a lost authenticator and how to regain access if every registered device is unavailable.

  • Review old phone numbers, devices and recovery methods after changing them.

 

Avoid locking yourself out during setup. Add and test the new method and a recovery option before removing an old method, where the service allows it. For a shared family or business account, decide who is authorised to recover access and how that process will be audited. Never share a personal authenticator merely to make a shared workflow convenient.

 

An example: protect the account that unlocks the rest

 

Imagine a home-lab owner uses an email account to reset passwords for a domain registrar, cloud server and password manager. The owner adds a phishing-resistant passkey where available, protects any remaining password with 2FA, registers a backup method and stores recovery codes securely. The same owner then reviews the recovery email, registered telephone number and signed-in devices.

 

The improvement is not a measured reduction in risk. It closes several plausible routes: a stolen email password alone is less useful, a lost phone is less likely to cause a lockout, and an old recovery method is less likely to remain available unnoticed. The remaining risk depends on the actual service, device and recovery configuration.

 

Now compare two hypothetical recovery designs. In the first, an attacker with access to the recovery email can reset the main account and remove its second factor. In the second, the recovery email has its own strong sign-in and the service requires additional checks before changing enrolled authenticators. The second design can raise the difficulty of that route, but the actual outcome depends on the provider's process. Do not assume every provider applies the same checks.

 

Where 2FA matters for broadband users

 

A fast connection does not secure the accounts used to manage it. Consider the ISP account, router or mesh management account, domain registrar, DNS provider, email, cloud storage, password manager and any remote-access service. These accounts can control billing, DNS, devices or the recovery of other accounts.

 

A router's local administrator page may not support a second factor, even if its manufacturer's cloud management account does. Check both separately. Use a unique administrator password, update supported firmware, restrict remote administration and expose management interfaces only where necessary. Adding 2FA to a cloud account does not automatically protect an exposed local interface or every device on the network.

 

For a home-lab service behind a reverse proxy, verify where authentication is enforced and which paths bypass it. MFA on a web dashboard does not automatically protect SSH keys, API tokens, service accounts or existing sessions. Apply controls appropriate to each access path and avoid breaking emergency access without a tested recovery plan.

 

What 2FA does not solve

 

2FA reduces reliance on a single stolen credential, but it is one part of account security. It does not guarantee that a device is free from malware, revoke a stolen session automatically, prevent a user from approving a malicious request, or protect a service with a vulnerable recovery process. A compromised application or an attacker with access to an unlocked device can create different problems.

 

For organisations, enrolment and changes to authenticators are security-sensitive events. Limit who can reset factors, verify the requester through an appropriate process, log changes and alert on unusual enrolment or recovery. Choose phishing-resistant authentication for high-impact administration where supported and make sure emergency procedures are usable and controlled.

 

A practical setup checklist

 

  1. Start with a high-value account, especially your primary email or credential manager. Open the service through a saved trusted address or its official app.

  2. Review its supported sign-in options. Use a passkey or FIDO security key with appropriate user verification where supported, or enable a strong available second step for a password.

  3. Register the authenticator using the service's instructions. Keep setup secrets and recovery codes private.

  4. Add a supported backup method and securely store any one-time recovery codes before signing out.

  5. Test sign-in and the recovery route carefully while you still have access. Check that you understand which device and account hold the credential.

  6. Review existing sessions, old devices, phone numbers and recovery contacts. Remove obsolete methods only after confirming that your replacement works.

 

If a code is rejected, check that it is for the correct account and that the device time is set correctly. Avoid repeatedly guessing codes: services can rate-limit or lock access. Check the provider's instructions and use a previously prepared recovery route if needed.

 

Two factor authentication questions answered

 

Is a password and a PIN two factor authentication?

 

Not in strict factor terms. Both are knowledge factors. Two different prompts do not automatically provide two different factor types.

 

Is an authenticator app better than SMS?

 

An authenticator app avoids reliance on the phone number for code delivery and can work without a mobile signal after setup. Both app and SMS codes can be phished, so use a supported phishing-resistant method where appropriate.

 

Is a passkey always two factor authentication?

 

Not automatically in every implementation. A passkey can combine possession of a cryptographic credential with local PIN or biometric verification when the service requires user verification. Check the actual authenticator and policy.

 

Can someone bypass 2FA?

 

Yes. Phishing, prompt approval, stolen sessions, compromised devices and weak recovery are possible routes. Strong authentication and secure recovery reduce risk but do not eliminate it.

 

What happens if I lose my phone?

 

Use a previously registered backup authenticator or the service's recovery process. Recovery codes and a second registered device can help, so prepare them before the phone is lost.

 

Should I use the same phone for passwords and authenticator codes?

 

It can be convenient, but compromise or loss of that device may affect both. Protect the device and its credential manager, consider your threat model and maintain a separate recovery option.

 

Does 2FA protect my router automatically?

 

No. It protects the account and sign-in paths where it is actually enforced. A cloud management account and the router's local administrator interface can have different controls.

 

The practical takeaway

 

Two factor authentication combines different kinds of evidence so a stolen password alone is less likely to give an attacker access. Choose a phishing-resistant option where supported, protect the recovery routes and check the actual account and access paths. The strongest sign-in method is only as useful as the way it is enrolled, recovered and maintained.

 

The broadband terminology guide connects authentication with encryption, network access and the other controls used to protect online services.

 
 
UK Techie Broadband Providers
bottom of page