The principle of least privilege is a security rule stating that each account, process or system should have only the permissions necessary for its task, for only as long as needed.
Why it matters
If an account is compromised, its permissions define the damage. A support agent who can only read tickets cannot dump the customer database, and a web app with a restricted database user limits the impact of SQL injection. Regular access reviews remove permissions that accumulate over time.
Example
A backup script needs to read files and write to one bucket. Instead of an admin cloud key, it gets a role limited to s3:PutObject on backups/*, so a leaked key cannot delete anything or read other data.
Common mistakes
- Granting admin rights for convenience and never removing them.
- Sharing one powerful account among a team.
- Forgetting service accounts and API keys in access reviews.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.