Dev.to Security ๐Ÿ” Cybersecurity ๐Ÿ‘ 0 ๐Ÿ“– 1 min read

๐Ÿ” Access Control โ€” 5 ways to decide โ€œWho can access what?

๐Ÿ” 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?โ€ F

๐Ÿ” 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?โ€

  1. RBAC โ€” Role-Based Access Control

Permissions are based on the user's role.
โ†’ A Developer can access code, while an Admin can manage users.

  1. 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.

  1. 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.

  1. ABAC โ€” Attribute-Based Access Control

Access depends on attributes of the user, resource, or request.
โ†’ Allow access if role = developer and environment = staging.

  1. 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

IG - https://instagram.com/shani.develops

X - https://x.com/shanidevelops

๐Ÿ“ฐ Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.