Credential & Access Security · Lesson 5 of 6
Part 1 of 9
Least privilege
About 7 minutes
On your first day you're offered admin rights to every client's live systems, "so nothing slows you down".
Your first project needs one client's code repository and its test environment.
Least privilege: the whole lesson
The situation
On your first day you're offered admin rights to every client's live systems, "so nothing slows you down".
Your first project needs one client's code repository and its test environment.
Only what the job needs
Least privilege means each person, and each system, gets the access their role and task need, and no more. Extra access is extra risk, even when nobody misuses it.
Why it matters
If your account is stolen, the attacker gets exactly what you have. Smaller access means a smaller breach, and it's part of how organisations meet UK GDPR's duty to keep personal data secure.
Admin rights are for admin work
The NCSC advises using accounts with full privileges only when absolutely necessary, and separate accounts for day-to-day work. Admin work gets an admin account; everything else, an everyday one.
Saying it well
Weak and strong
Weak
Give me admin everywhere, just in case.
Strong
I need read access to the logs for this ticket, until Friday.
Quick check 1 of 3
You need to read one table in production to debug an issue. What should you ask for?
- Full admin on the database, to save asking again.
- Read access to that table, for as long as the task lasts.
- Your manager's login.
Quick check 2 of 3
Why does least privilege reduce the damage from a stolen account?
- Attackers avoid accounts with little access.
- The attacker can only do what that account could do.
- It makes passwords stronger.
Quick check 3 of 3
What does the NCSC advise about accounts with full privileges?
- Use them for everyday work, to save time.
- Use them only when absolutely necessary.
- Share one between the team.
Take it with you
Ask for the access the task needs, and no more.
Use admin rights only for admin work.
Give back what you no longer need.
Smaller access, smaller breach.
How do you request access at your organisation, and how long does it last?
