Home  >  Article  >  Backend Development  >  rbac和acl比有哪些优势?什么情况下适合使用rbac,什么情况下适合ACL?

rbac和acl比有哪些优势?什么情况下适合使用rbac,什么情况下适合ACL?

WBOY
WBOYOriginal
2016-06-06 20:51:442058browse

我之前一直在WEB程序中使用acl进行用户权限管理,但据说rbac比acl更强大,不知优势体现在哪些地方?

回复内容:

我之前一直在WEB程序中使用acl进行用户权限管理,但据说rbac比acl更强大,不知优势体现在哪些地方?

RBAC = Role Based Access Control
ACL = Access Control List

RBAC是一种权限控制体系的名称,ACL是权限体系中的业务规则,他们都不是一种具体的软件或者算法。RBAC要用到ACL才能工作,ACL则不一定服务于RBAC,其它权限控制体系里的权限规则也叫ACL。

所以这两个没有可比性。

除RBAC外,其它的权限控制体系还有什么呢,如Windows用的DAC-based,Dictionary Access Control

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn