π Access Control β 5 ways to decide βWho can access what?β
RBAC asks βWhat is your role?β
ReBAC asks βHow are you related?β
PBAC asks βWhat does the policy say?β
ABAC asks βWhat are your attributes?β
FGAC asks βExactly what are you allowed to touch?β
- RBAC β Role-Based Access Control
Permissions are based on the user's role.
β A Developer can access code, while an Admin can manage users.
- ReBAC β Relationship-Based Access Control
Permissions are based on the relationship between the user and resource.
β You can edit a GitHub repo because you are its owner.
- PBAC β Policy-Based Access Control
Access is decided by rules/policies defined by the system.
β Allow deployment only when the branch is main and tests have passed.
- ABAC β Attribute-Based Access Control
Access depends on attributes of the user, resource, or request.
β Allow access if role = developer and environment = staging.
- FGAC β Fine-Grained Access Control
Permissions are controlled at a very specific level, rather than giving broad access.
β A developer can edit user.name but cannot access user.password.
Now you know something new, feel free to ask question or search for more information and grow.
Connect:
Github - https://github.com/shani-tiwari
Top comments (0)