简体   繁体   English

使用ASP.NET网站的Active Directory控制菜单显示和页面级安全

[英]Control menu display and page level security using Active directory for an ASP.NET website

I would like to control the menu display (show/hide menu items) in my ASP.NET 3.5 website based on the user's AD group and also control the functionality within a page using user's active directory group membership. 我想基于用户的AD组控制ASP.NET 3.5网站中的菜单显示(显示/隐藏菜单项),还希望使用用户的活动目录组成员资格来控制页面中的功能。 how to do this? 这个怎么做? menu is stored in an xml file and bound to a control. 菜单存储在xml文件中并绑定到控件。
all the examples I see on the web are related to forms authentication. 我在网上看到的所有示例都与表单身份验证有关。 this is an intranet website with integrated windows authentication and both authentication and authorization should be controlled using user's active directory groups. 这是具有集成Windows身份验证的Intranet网站,应该使用用户的活动目录组来控制身份验证和授权。 thanks in advance. 提前致谢。

I got an answer in ASP.NET forums for the same question, posting it here if anyone is interested. 我在ASP.NET论坛中得到了相同问题的答案,如果有人感兴趣,请在此处发布。

http://forums.asp.net/p/1628890/4193568.aspx#4193568 . http://forums.asp.net/p/1628890/4193568.aspx#4193568

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

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