doudao9896 2014-10-14 10:49
浏览 23
已采纳

ZF2中的Acl与RBAC

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 .

  • 写回答

1条回答 默认 最新

  • dsfhe34889789708 2014-10-14 15:16
    关注

    It totally depends on your needs. Rbac is Access Control managed by permissions on merely roles, where Acl 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 from zf-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包进行边际效应图绘制