BolEnglishLearn · Play · Win
Login

🔑 Security · Security Fundamentals

🔑

Least Privilege

Security ControlIntermediateModule 6

Grant only the access needed to perform a job.

Excess permission increases the impact of mistakes or compromise.

💡 In practice

A reporting account gets read access, not database administrator rights.

🖼️ CONCEPT PICTURE
A picture to help remember Least Privilege
A reporting account gets read access, not database administrator rights.

💡 Give the house-sitter a key to the front door, not the keys to the car, the safe, and the neighbor's house too.

💡 Learn🛠️ Apply🎯 Check

💡 Why it matters

When an account is stolen or a script goes wrong, the damage is limited to whatever that account could do. Over-broad rights turn a small slip into a disaster. Least privilege shrinks the blast radius of every mistake and every breach.

🛠️ How to achieve it

1
Start from zero
Give a new account nothing, then add only the specific rights it needs to do its task.
2
Separate accounts by job
Use a read-only account for reporting and a different, limited one for writes.
3
Review access regularly
Remove rights people and services no longer use, especially after a role change.
4
Scope service permissions
Give each service access only to its own resources, not the whole system.

⚠️ Signs of trouble

  • •Most accounts have administrator rights just in case.
  • •A single shared account is used for everything.
  • •Old employees or services still have active access.
  • •A reporting job can also delete or alter data.
⚠️ Common mistake: Granting broad admin rights for convenience. Grant the narrowest access that still lets the job run, and add more only when truly needed.

🎯 Quick check

Score: 0/3

Three questions to test the idea.

  1. 1. What is the core idea of least privilege?

    Answer: Grant only the access a job actually needs

    Least privilege means the minimum access required for the task, nothing more.

  2. 2. Why does least privilege reduce damage from a breach?

    Answer: A stolen account can only do what it was narrowly allowed

    Limiting rights shrinks the blast radius, so a compromised account cannot reach everything.

  3. 3. Which account setup fits least privilege for a reporting job?

    Answer: A read-only account

    Reporting only needs to read, so a read-only account gives exactly enough and no more.

🔑 Key terms

Blast radius
How much harm is possible if an account is misused or stolen.
Read-only access
Permission to view data but not change it.
Service account
A non-human login used by a program or job.
Access review
A periodic check that each account still needs its rights.

✅ Review checklist

📊 Your progress

0%
Mark this topic learned to track it.
Saved in this browser.
🚀 Got it?
Mark it learned and move to the next topic.
Next topic →