简体   繁体   English

ASP.NET中的灵活ACL

[英]Flexible ACL in ASP.NET

I'm building an application for which I want to use roles managment applicable to individual pages. 我正在构建一个应用程序,我想使用适用于各个页面的角色管理。 That is, restrict users' access to pages based on their roles. 也就是说,限制用户根据其角色访问页面。 These roles are stored into the database, as the users. 这些角色作为用户存储在数据库中。 This is the PHP way of doing things and I'm trying to port this to ASP.NET 这是PHP的做事方式,我正在尝试将其移植到ASP.NET

What I need is that someone can point me to the right resources to look at to acomplish the above task. 我需要的是有人可以指出我正确的资源来完成上述任务。 Until now I have not been able to find what I am looking for. 直到现在我还没能找到我想要的东西。

Thank you. 谢谢。

I think you should checkout the ASP.NET membership provider model: 我认为您应该检查ASP.NET成员资格提供程序模型:

http://msdn.microsoft.com/en-us/library/sx3h274z.aspx http://msdn.microsoft.com/en-us/library/sx3h274z.aspx

如果您正在寻找细粒度控制,那么请看一下Rhino Security

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM