Skip to main content

What Is the Principle of ‘Least Privilege’ in RBAC?

The principle of 'least privilege' in Role-Based Access Control (RBAC) dictates that every user, role, or address should only be granted the minimum set of permissions necessary to perform their required tasks, and nothing more. For example, a 'Fee Collector' role should only have permission to withdraw collected fees, not to mint new tokens or upgrade the contract.

This minimizes the potential damage from a compromised key, as an attacker will only gain access to a limited, non-critical set of functions.

What Are Best Practices for Securing Access Control in a Smart Contract?
How Does “Role-Based Access Control” Help Secure the Upgrade Mechanism?
How Does the Concept of ‘Counterparty Risk’ in Derivatives Contrast with ‘Key Compromise Risk’ in Crypto?
What Is a Protective Put Strategy in Options Trading?