Two-Factor Authentication (2FA)

Two-Factor Authentication (2FA) is a type of MFA that specifically requires exactly two authentication factors to verify a user’s identity. It strengthens security by ensuring that even if one factor (such as a password) is compromised, an attacker still needs the second factor.

Examples of 2FA:

  1. Password + SMS Code
  2. PIN + Fingerprint Scan
  3. Password + One-Time Code from an Authenticator App (e.g., Google Authenticator)

2FA is a subset of MFA because it strictly requires two factors, whereas MFA can require two or more.