The principle of least privilege limits users, applications, and systems to only the access they need to perform their specific function, reducing the attack surface if an account or system is ever compromised.
Principle of Least Privilege
This commonly goes by the principle of least privilege. What we need to do is minimize how much access different applications or different users have into systems.
Let us develop a little scenario here to drive home this point. Right here we have Juan. Juan needs access to a file that is in this share right here. So rather than just giving him access to that single file that Juan needs to access, we say, well, we really trust Juan, so it is not really a big deal to give him access to the whole folder. So we give him access to that whole folder, which has tons of private information in it, but that is now okay because we trust Juan.
But now let us say somebody ends up compromising Juan's account, and getting access through Juan's account now has access to all of those files and folders within this shared drive, and now they can see so much of the company. So even though we trusted Juan, Juan is not the one that was actually leveraged to get in and see everything. It was some adversary on the outside.
Least privilege is this idea that users, applications and systems should only be granted the least amount of access rights to do their job.
We used the case of Juan gaining access to a share, but it could be some sort of system that has access to another system. It could be an application that has access to certain aspects on the network. So it is any kind of access, really, and we want to practice least privilege.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →