Article
Multi-factor authentication
To take money from a cash machine you need two things: your card and your PIN. A thief who steals only the card gets nothing. A thief who watches your PIN gets nothing without the card. Online accounts can work the same way, and the idea has a name: multi-factor authentication.
Three kinds of proof
Authentication means proving you are who you say you are. There are three kinds of proof. Each kind is called a factor.
| Factor | The idea | Examples |
|---|---|---|
| Knowledge | something you know | a password, a PIN, a secret answer |
| Possession | something you have | your phone, a bank card, a security key |
| Inherence | something you are | a fingerprint, your face, your voice |
Inherence means "part of you". These factors are your body, not something you remember or carry.
Multi-factor authentication (MFA) needs at least two different factors. Each extra step is another layer of security: an attacker has to get past every layer.
Logging in with two factors
Type your password
knowledge: something you know
thenEnter the code from your phone
possession: something you have
both correctYou are in
Check your understanding
Which of the following is an example of multi-factor authentication?
Different kinds, not just more steps
The exam's favourite trap: two steps are not always two factors. They must be different kinds.
| Login | Factors | MFA? |
|---|---|---|
| Password, then a secret question | knowledge and knowledge | No: both are things you know |
| Password, then a code sent to your phone | knowledge and possession | Yes |
| Fingerprint, then face scan | inherence and inherence | No: both are things you are |
| Card in the machine, then your PIN | possession and knowledge | Yes |
| Fingerprint alone | inherence only | No: only one factor |
A password plus a secret question has two steps, but a thief who learns about you can guess both.
One-time codes and security keys
A one-time code is a short number, such as 6 digits, that works once, usually for about 30 seconds. It comes by text message or from an authenticator app on your phone. It proves you have your phone. A thief who steals your password cannot guess the code: 6 digits give 10⁶ = 1,000,000 possibilities, the site only allows a few tries, and the code expires.
A security key is a small device, or a phone, that proves you hold it. You plug it in or tap it when you log in.
Stay careful: a fake website can ask for your code. Never give a code to someone who calls or messages you, because the real site never asks for it.
Biometrics
Biometrics use your body to authenticate: a fingerprint, face, voice or the pattern of the eye. They are the inherence factor.
| Good | Not so good |
|---|---|
| You cannot forget or lose a fingerprint | You cannot change it if it leaks, unlike a password |
| Quick: a touch or a look | The scan can fail, or wrongly accept the wrong person |
| Hard for a stranger to copy | It is personal data, so it must be stored with care |
A biometric on its own is one factor. A fingerprint and a PIN together are two.
Check your understanding
A phone unlocks when it sees its owner's face. What kind of factor is this?
Worked example
Which of these logins is multi-factor?
- A. Type a password, then type your mother's maiden name.
- B. Type a password, then approve a prompt on your phone.
- C. Scan a fingerprint, then scan your face.
A: both are knowledge, so no. C: both are inherence, so no. B: the password is knowledge and the phone is possession, so yes, B is multi-factor.
Common mistakes
- Counting steps instead of kinds. Two passwords are still one factor.
- "A biometric is the strongest thing, so it's enough alone." One factor is one factor.
- "MFA makes passwords unnecessary." Usually it adds to your password. Keep the password strong.
- Sharing a code. A code is a secret for a few seconds. Never tell it to anyone.
On the exam
You will be given a login and asked "Which of the following is an example of multi-factor authentication?" Name the factor of each step (know, have, are). If two steps have the same factor, it is not MFA. You may also be asked why MFA helps: a stolen password is not enough.
Key words
Authentication: proving who you are.
Factor: one kind of proof: knowledge, possession or inherence.
Multi-factor authentication (MFA): using at least two different factors.
One-time code: a short code that works once and expires quickly.
Biometrics: authentication using your body, such as a fingerprint or face.