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

์ž‘์„ฑ์ž

์นดํ…Œ๊ณ ๋ฆฌ:

โ† ํ”ผ๋“œ๋กœ
DEV Community ยท Shani Tiwari ยท 2026-08-09 ๊ฐœ๋ฐœ(SW)
Cover image for ๐Ÿ” Access Control โ€” 5 ways to decide โ€œWho can access what?

Shani Tiwari

๐Ÿ” 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

์›๋ฌธ์—์„œ ๊ณ„์† โ†—

์ถ”์ถœ ๋ณธ๋ฌธ ยท ์ถœ์ฒ˜: dev.to ยท https://dev.to/shanitiwari/access-control-5-ways-to-decide-who-can-access-what-2ab4

์ฝ”๋ฉ˜ํŠธ

๋‹ต๊ธ€ ๋‚จ๊ธฐ๊ธฐ

์ด๋ฉ”์ผ ์ฃผ์†Œ๋Š” ๊ณต๊ฐœ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ•„์ˆ˜ ํ•„๋“œ๋Š” *๋กœ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค