I want to incorporate a component of access control in my application, I saw that ZF2 offer: Zend /permissions/Acl
and Zend /permissions/RBAC
, I would like to know which is more efficient and secured , and what about Zfc-RBAC
?
thank you .
ZF2中的Acl与RBAC
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- dsfhe34889789708 2014-10-14 15:16关注
It totally depends on your needs.
Rbac
is Access Control managed by permissions on merely roles, whereAcl
is a solution where you will be managing both resources and roles. The Rbac of Zend Framework 2 has some complexities that are going to be simplified in ZF3.If you consider using Rbac I would suggest to check
zfc-rbac
fromzf-commons
which is built on top of the prototype for ZF3's Rbac.Here on GitHub you can find
zfc-rbac
.If you consider Acl I would suggest to take a look at
BjyAuthorize
which can be found here本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 多电路系统共用电源的串扰问题
- ¥15 slam rangenet++配置
- ¥15 有没有研究水声通信方面的帮我改俩matlab代码
- ¥15 对于相关问题的求解与代码
- ¥15 ubuntu子系统密码忘记
- ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
- ¥15 保护模式-系统加载-段寄存器
- ¥15 电脑桌面设定一个区域禁止鼠标操作
- ¥15 求NPF226060磁芯的详细资料
- ¥15 使用R语言marginaleffects包进行边际效应图绘制