ASP.NET 中的灵活 ACL
我正在构建一个应用程序,我想使用适用于各个页面的角色管理。即根据用户的角色限制用户对页面的访问。这些角色作为用户存储到数据库中。这是 PHP 的做事方式,我正在尝试将其移植到 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
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为您应该检查 ASP.NET 会员资格提供程序模型:
http://msdn .microsoft.com/en-us/library/sx3h274z.aspx
I think you should checkout the ASP.NET membership provider model:
http://msdn.microsoft.com/en-us/library/sx3h274z.aspx
如果您正在寻找细粒度的控制,请查看 Rhino Security
If you are looking for fine grained control then take a look at Rhino Security