Access control has two parts. Authentication proves who you are (a password, and with multi-factor sign-in a code from your phone too). Authorisation (permissions) then decides what you may do. Give each role only what its job needs: least privilege.
You and your teacher both sign in to the same school system. Why can your teacher change marks and you can't?
What you should already know:
Host Jellyfin, a media server· Jellyfin serves your films and music to any device on the network, through a web page on port 8096.
Students: change their homework, read their marks, no settings.
Another hint
Teachers: change homework and marks, no settings.
Another hint
Admins: read homework and marks, change settings.
This table gives everyone too much. Click cells to set least privilege: students change Homework, read Marks, nothing in Settings; teachers change Homework and Marks, nothing in Settings; admins read Homework and Marks, change Settings.
Use the board. This ticks when you get there.
Lesson done. You've finished every step you need.
Now you can
Explain the difference between authentication and authorisation.
Explain why multi-factor sign-in is safer.
Set permissions so each role has only what it needs.
Students sign in as different users, try to read and change files, switch on multi-factor sign-in and fix a permissions table, to distinguish authentication from authorisation and apply least privilege (AC9TDI10K01 node 3). About 40 minutes.
I can explain the difference between authentication and authorisation.
I can explain why multi-factor sign-in is safer.
I can set permissions so each role has only what it needs.
Before class
Try the board yourself. The practice accounts are on the board (Kai: maple, weak on purpose so it is quick to type; Ms Lee: orbit, Admin: quartz-river-71; MFA code 4096); they are made up and only work here.
The one idea (the kit's typical width): authentication proves identity, authorisation decides actions; both are needed on a shared system. Least privilege limits the damage from a stolen or misused account.
Real-world link: the school's own systems (who can see what in the learning management system); avoid showing real accounts.
Running the lesson
Predict: students who chose "it works" hold Sam's misconception.
Try: ask what was checked first, and what second.
Worked example: map each line to authentication or authorisation.
Vary: ask what an attacker would need with MFA on.
Make: ask why admins don't get to change marks.
The hard part (on purpose)
Students treat "signed in" as "allowed". Keep asking two questions in order: who are you? what may you do?
When students get stuck
A student says Kai can do anything once signed in (Sam's mistake). Ask: What did the password prove? What decides the rest? Fix: Signing in proves who; permissions decide what.
A student gives every role everything to make it work. Ask: What does each job actually need? Fix: Least privilege: only that.
Stretch and support
Stretch: Some systems use roles (teacher, student) and some give permissions to each person. What are the trade-offs for a school?
Support: Two questions on the board: Who are you? (authentication) What may you do? (authorisation).
Where it leads
Next: Hashes and keys (how passwords are stored and secrets shared).
Links: Secret messages' challenge and response is another way to prove who you are.
What each step is for
signed in, but…: Committing to whether a signed-in student can change marks tests the new move: authentication and authorisation are separate checks.
Try: sign in and try: Signing in as Kai and trying to change Marks settles the prediction: signed in, yet denied.
Worked example: two checks: Following one request through both checks models the new move, plus why least privilege matters. Sam treats signing in as permission to do anything, the misconception planted after the method.
Vary: one change at a time: Each task changes one thing: a different user, a wrong password, multi-factor sign-in, then the admin's role.
access control: Sorting examples into authentication and authorisation, judging passwords and permissions, and a review of DNS.
least privilege: Fixing a permissions table so every role has exactly what its job needs reverses the process: students start from the jobs and set the permissions.