用户控制系统理论?
TL;DR:
我正在寻找有关实现用户访问控制的不同方式的理论来源。
长版
我几乎已经完成了 CMS 中所需的所有独立工具。
我现在不需要将所有这些碎片整合在一起。 现在我想要创建一个完全以用户为中心的 CMS(和 API)。 这意味着一个非常强大且易于使用的权限管理框架是一切的基础。有点像 unix/linux 文件系统的工作方式(不是实际的实现,而是从某种意义上说它们是系统的核心)。
该框架需要考虑特殊情况(“用户可以在日期 x 之前访问此数据”),并实现每个操作或每个项目的权限(“用户可以编辑文章,但不能编辑文章233 ”),完全抽象(不依赖于任何特定数据库),并且不依赖于任何身份验证系统。此外,由于任何请求都会经过它,因此需要对其进行相当优化。最后,我想保持它的开放性以实现模块化。
这是一个相当大的项目,在开始之前,我想收集尽可能多的有关使用权限管理的理论。我了解 ACL(并且自己已经实现了一些自定义系统),但我正在寻找更抽象的高级文档,理想情况下不与特定语言绑定。在我设想的文章/书中,代码示例将很少见,只有几行,并且用伪代码编码只是为了说明一点。
我一直在网上寻找,但只能找到有关如何实现 ACL 的教程,或有关基于角色的访问控制的讨论,但没有找到有关该领域的研究、创新/替代解决方案等的内容。
任何人都可以提供建议关于这方面的好书/网页/资源?
TL;DR:
I am looking for theoretical sources about the different manners to implement user access control.
Long version
I have almost finished all the stand-alone tools needed in my CMS.
I am not at the moment where I need to bring all these pieces together.
Now what I would like to is to create a CMS (and an API) that is completely user-centric.
This means a very strong, yet easy to use, rights management framework at the base of everything. A bit like unix/linux filesystems work (not the actual implementation, but in the sense that they are at the very core of the system).
This framework would need to account for special cases ("user can access this data until date x"), and implement per-action, or per-item rights ("user can edit articles, but not article233"), be completely abstract (not tied to any particular database), and not tied to any authentication system. Also, since any request would go through it, it needs to be quite optimized. Lastly, I want to keep it open for modularity.
This is quite a large project, and before getting into it, I'd like to gather as much theory about used rights management. I know about ACL (and have already implemented a few custom systems myself), but I am looking for a more abstract, high-level document, ideally, not tied to a particular language. In the article/book I envision, code samples would be rare, a few lines only, and coded in pseudo-code just to illustrate a point.
I've been looking on the net but can only find tutorials about how to implement ACL, or discussions about role-based access control, but nothing about, say, research in the field, innovative/alternative solutions, etc.
Anyone can advise a good book/webpage/resource about that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论