MODULE 2 ยท LESSON 2
Free โ no login requiredSign in to track progress, save quiz attempts and enrol in the full course.
Sign in to track progress / enrolLeast Privilege, the Highest Value Habit
Give every person, and every piece of software, exactly the access needed to do the job, and nothing beyond it.
That is the whole principle. It is unglamorous, no vendor can sell it to you as a product, and it is the single highest value habit in the field, because it is the control that decides how bad your worst day is.
What it actually buys you
Least privilege does not reduce the chance of a breach. Accept that clearly, because it is the source of most arguments against it. Someone will still be phished. The value is in what happens next.
Take a marketing intern who needs to read the campaigns folder.
Without least privilege, their account can also reach the finance share, the customer database and the HR folder, because they were added to a broad group on their first day and nobody revisited it. An attacker who phishes that intern now holds all of it. One junior employee's mistake becomes a company wide data breach with regulatory reporting obligations.
With least privilege, the same account reaches the campaigns folder and nothing else. The same attacker, having run exactly the same successful attack, now holds some draft social media posts. It is a bad afternoon, not a catastrophe.
Identical attack. Identical human error. The difference in outcome was determined months earlier, by whoever set up the account.
Least privilege does not stop the first move. It decides what the first move is worth.
Privilege creep
Nobody deliberately over grants access. It accumulates, through a process that looks reasonable at every individual step.
Someone joins and is added to a broad group because that is quicker than working out precisely what they need. They cover for a colleague on leave and receive temporary access, which is never removed because removing it is nobody's job. They move to a new team and gain that team's permissions while keeping the old ones, because revoking the old set risks breaking something and nobody wants to be responsible for that. Multiply by five years and a few internal moves.
The result is that long serving, well liked, entirely trustworthy employees frequently have the broadest access in the organisation. Attackers know this, which is why long tenured staff are disproportionately targeted. It is not about trust. It is about accumulated reach.
Applying it to AI agents
This principle applied to people for decades. It applies to AI systems more urgently, and the reason is worth stating precisely.
A person with excessive access is a risk if they are careless or compromised. An AI agent with excessive access is a risk if anyone can influence its input, and Module 5 will show that influencing its input is often as easy as sending it a document.
Consider an assistant connected to a shared mailbox.
- Read only. It can summarise and draft. If manipulated, an attacker learns what is in the mailbox, which is serious.
- Read and send. It can now be aimed. A successful manipulation means the attacker sends mail as your organisation, to your customers, from a legitimate address that passes every authenticity check.
The gap between those two configurations is enormous, and the decision is usually made casually, because sending is convenient.
The rule that follows: give an AI system read access when reading is what the job requires, and put a human approval step in front of anything that leaves the building or cannot be undone. This costs a little convenience and removes almost all of the worst outcomes.
If the principle is obvious, why is it so rarely implemented well?
Because the incentives are asymmetric, and everyone involved is behaving rationally.
Granting access has an immediate, visible benefit: someone can do their job today. Denying or removing access has a diffuse, invisible benefit: a breach that will not happen is smaller than it would have been. Meanwhile the cost of removing access is concrete and lands on a specific person, who will be blamed if something breaks.
So the person deciding faces a choice between a certain small cost now and an uncertain benefit later that nobody will ever attribute to them. They grant the access. Every time. This is not laziness, it is the predictable result of the incentive structure.
Organisations that get this right change the structure rather than exhorting people to try harder.
Expiry by default. Access is granted with an end date, especially temporary access. The default becomes removal, so nobody has to make the uncomfortable decision to take something away.
Role based rather than person based. Define what a role needs once. Joining the role grants that set, leaving it revokes the set. This turns internal moves from an accumulation event into a swap.
Periodic review with a low friction path back. Managers confirm what their team needs, and the review is only tolerable if regaining wrongly removed access takes minutes. If restoration is slow, reviewers approve everything to avoid causing disruption, and the review becomes theatre.
Joiners, movers, leavers as one process. Most organisations handle joiners well because someone is waiting to work. Movers are handled badly, which is where creep comes from. Leavers are handled inconsistently, which is why dormant accounts with live access are so common.
If you take one operational point from this lesson, make it the movers. That is where the accumulation happens, and it is the cheapest place to fix.
A team wants to connect an AI assistant to the company's shared inbox so it can draft replies. What is the most important scoping decision?
Least privilege
Click to flipGranting exactly the access needed for the job and nothing more. It does not reduce the chance of a breach; it reduces what a breach is worth.
Click to flip backLeast privilege will not stop anyone being phished. It decides whether a phished intern costs you a folder of draft posts or your customer database, and that decision is made months earlier by whoever configured the account. Permissions accumulate silently through joins, cover and internal moves, so the fix is structural: expiry by default, role based grants, and treating internal movers as carefully as leavers. For AI agents the principle is more urgent, because their input can be influenced by anyone who can send them a document. Give them read access where reading is the job, and require human approval for anything irreversible.