- Foundation
- About 12 min
- 5 practice questions
Proving who you are: authentication and its factors
Understand the three kinds of proof of identity, why two factors beat one, and how OTPs, biometrics and CAPTCHAs fit in.
If something looks wrong, please tell us.
Before a system lets you in, it must be sure you are really you. This check is called authentication, and almost every account you own depends on it. Knowing the different ways of proving identity helps you choose safer settings and answer exam questions on login security.
Authentication and authorisation
Authentication answers the question 'Who are you?'. Authorisation answers 'What are you allowed to do?'. A bank app first authenticates you with a password or fingerprint, and only then authorises you to view your own account, not anyone else's.
The three factors of authentication
A factor is a category of proof. There are three classic categories, and a good login uses more than one.
| Factor | Meaning | Examples |
|---|---|---|
| Something you know | A secret kept in your memory | Password, PIN, answer to a security question |
| Something you have | An object only you should hold | Mobile phone receiving an OTP, smart card, security key, ATM card |
| Something you are | A body feature that is hard to copy | Fingerprint, face, iris, voice |
Two-factor authentication (2FA) uses two different factors together. Multi-factor authentication (MFA) uses two or more. The factors must come from different rows of the table. A password plus a security question are both 'something you know', so together they are still only one factor.
One-time passwords
An OTP (One-Time Password) is a code that works only once and usually expires in a short time. Because it is sent to your phone or generated by an app, it proves 'something you have'. An OTP protects you only if you keep it secret: a stranger who persuades you to read it out has defeated the protection. A genuine bank or website never needs you to tell the OTP to its staff.
Biometrics
Biometrics use a measurable body feature. Fingerprint, face and iris scans are common. Their advantage is that you cannot forget them. Their drawbacks are that a leaked fingerprint pattern cannot be changed like a password, and that the system may sometimes wrongly reject a genuine user or, rarely, accept a wrong person.
Other related tools
- CAPTCHA: a small test, such as reading distorted letters or picking pictures, meant to show that the visitor is a human and not an automated program.
- Password manager: software that stores many strong passwords safely so you need to remember only one master password.
- Security key or smart card: a small physical device that must be present for login.
- Account lockout: the account is blocked for a time after several wrong attempts, which slows brute-force guessing.
Worked examples
Example 1. An ATM withdrawal needs your card and your PIN. Which factors are used? The card is something you have; the PIN is something you know. Two different factors are used, so this is two-factor authentication.
Example 2. A website asks for your password and then your mother's maiden name. Is this 2FA? No. Both are things you know, so it is a single factor asked twice. Replacing the second question with an OTP sent to your phone would make it true 2FA.
Example 3. Counting guesses shows why length matters. A password of 4 lowercase letters has 26 x 26 x 26 x 26 = 456,976 possibilities. A password of 8 lowercase letters has 26 to the power 8 = 208,827,064,576 possibilities, which is far harder to guess by trying every combination. The numbers here are simple counts, not claims about any real attacker's speed.
Two factors from different categories beat one strong factor alone. Never read an OTP out to anyone.
Key takeaways
- Authentication proves identity; authorisation decides permitted actions.
- The three factors are something you know, have and are.
- 2FA needs two different factors; two secrets of the same kind do not count.
- OTPs, biometrics and CAPTCHAs each have a clear job and a clear limit.
Check your understanding
-
1. Which of the following is 'something you have'?
- A fingerprint of your thumb
- A PIN you have memorised
- An OTP sent to your phone
- Your mother's maiden name
Show answer
Answer: C. A code delivered to a phone you hold depends on possessing that phone, so it is 'something you have'. A fingerprint is 'something you are' and the PIN and maiden name are 'something you know'.
-
2. A login asks for a password and a security question. How many factors are used?
- Two factors
- One factor
- Three factors
- No factor
Show answer
Answer: B. Both the password and the answer to a security question are things you know, so only one factor is used even though two questions are asked.
-
3. What does authorisation decide?
- What a verified user may do
- How long a password should be
- Whether a website uses a padlock
- How fast the network can run
Show answer
Answer: A. Authorisation comes after authentication and sets the permitted actions, such as viewing only your own records.
-
4. A CAPTCHA is mainly used to
- Lock a file with a secret key
- Remove viruses from a disk
- Copy files to a safe drive
- Tell human visitors from bots
Show answer
Answer: D. A CAPTCHA is a challenge that is easy for people but hard for automated programs, so it filters out bots.
-
5. An ATM transaction needs a card and a PIN. This is an example of
- Single-factor authentication
- Two-factor authentication
- Biometric authentication
- Authorisation only
Show answer
Answer: B. The card is something you have and the PIN is something you know. Two different factors make it two-factor authentication.
Sign in to keep track of the lessons you finish.