Cybersecurity & Privacy

What Is the Principle of Least Privilege?

Least privilege means giving each user, application and process only the permissions required to perform its task, for only as long as needed.

Access is assigned by role or task and reviewed periodically. Temporary elevation can reduce standing administrator access, while logging makes privileged actions auditable.

Two practical examples

Example 1. An editor can publish articles but cannot change billing settings.

Example 2. A deployment process can update one application environment but cannot administer the whole cloud account.

What to check in practice

  • Identify the exact device, software version or service involved before changing a setting.
  • Record the current configuration so you can reverse a change that causes problems.
  • Test one variable at a time and confirm the result using reliable measurements or logs.
  • Use the official documentation for model-specific limits, compatibility and safety requirements.
Important consideration

Broad administrator access is convenient but increases the impact of mistakes and compromised accounts. Remove stale permissions and separate duties.

Common question

What is the first thing to do? Start by identifying the exact use case and the system involved. Then verify the relevant settings or measurements before making changes. A general explanation is a starting point, not a substitute for checking your own environment.

TryHook publishes independent educational explainers. Product names and technical standards belong to their respective owners. Some pages may eventually contain clearly disclosed affiliate links; editorial explanations are not paid endorsements.

Explore more in Cybersecurity & Privacy

Continue with related beginner-friendly guides.

What Is Phishing?Read guideWhat Is Multi-Factor Authentication?Read guide