Computer Science · Security Unit · Session 3 of 8
Logging in and being allowed to act are two different questions.
A student can authenticate perfectly — right password, right account — and still be refused permission to edit payment records. That gap between "who are you" and "what are you allowed to do" is where this session lives: password attacks, multi-factor authentication, least privilege, and the audit logs that record it all afterwards.

Executive summary
Goal: distinguish identity checks from permission checks, and explain how account protections actually help.
| Task | Minutes |
|---|---|
| Recall phishing and one defence | 5 |
| Read notes and diagram | 15 |
| Core video and question | 10 |
| Permissions activity and explanation | 20 |
| Check and exit question | 10 |
1. Identity and permission are separate
Identification is a claim — entering a username. Authentication checks that claim. Authorisation decides whether the now-identified account is permitted to perform the specific action it's requesting.
A student might authenticate successfully and still be refused permission to edit payment records. Permission checks should apply to the requested resource and action — not just to whether somebody logged in at some point earlier.
Reading the diagram: passing the first decision does not guarantee passing the second. Recording an event supports later investigation — it does not, by itself, guarantee the action was appropriate.
2. Password attacks and protections
An attacker may guess likely passwords, systematically try combinations, reuse credentials stolen from another site, or simply trick someone into handing one over. These are different methods, and no single control defeats all of them at once.
Long, unpredictable passwords make guessing harder. Unique passwords per service limit the damage when another service gets breached. A password manager helps generate and store separate credentials without you having to remember them all.
Services can limit repeated login attempts and flag suspicious activity. That constrains online guessing — it has no effect once an attacker has stolen password hashes and is testing guesses offline, away from any rate limit.
Never use example passwords from a lesson as real passwords.
3. Multi-factor authentication
Authentication factors come in three families: something you know (a password), something you have (a security key), something you are (a biometric characteristic). MFA requires more than one type. A password plus a second password is still one type, dressed up as two.
Current practical guidance: NCSC — Secure your important online accounts.
4. Least privilege and accountability
Least privilege means giving a role only the permissions it actually needs. Individual accounts let an administrator change one person's access without touching everyone else's login. Removing access promptly when someone leaves matters just as much as setting it up correctly in the first place.
Audit logs record events — logins, edits — and support investigation, especially where accounts are individual rather than shared. Treat them as evidence to interpret, not proof: a recorded account name doesn't guarantee which person was actually behind the keyboard if that account was compromised.
Watch
Activity — Design the permissions
Reveal model answers and check your work
A defensible table gives members only their own status; treasurers can view and edit payment records; the supervisor manages permissions and can oversee everything. Other allocations are acceptable where responsibilities justify them.
A shared account prevents separate permissions and weakens accountability — you can't tell who did what. Password + PIN uses two knowledge secrets, so it's single-factor; password + security key combines knowledge and possession, so it's multi-factor. MFA adds a barrier after password theft, while recovery procedures and device availability introduce real practical costs.
Key terms
- identification
- authentication
- authorisation
- MFA
- least privilege
- credentials
- audit log
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8