Before a system can control what a user is allowed to do, it must first confirm who the user is. This process is known as authentication. In IB Computer Science, students are expected to understand different authentication methods, how they work, and their strengths and weaknesses.
IB examiners reward answers that compare methods rather than simply listing them.
What Is Authentication?
Authentication is the process of:
- Verifying a user’s identity
- Ensuring they are who they claim to be
Authentication occurs before authorisation.
- Authentication: Who are you?
- Authorisation: What are you allowed to do?
Understanding this sequence is essential for IB exams.
Password-Based Authentication
Passwords are the most common authentication method.
They rely on:
- Something the user knows
How Passwords Work
- The user enters a secret string
- The system checks it against stored credentials
Advantages
- Simple to implement
- Low cost
- Familiar to users
Disadvantages
- Weak passwords are easy to guess
