如何创建使用Active Directory控制Access的ASP.NET应用程序 [英] How to create ASP.NET application that controls Access using Active Directory

查看:55
本文介绍了如何创建使用Active Directory控制Access的ASP.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,



我是使用Visual Studio 2017的新开发人员。



我希望创建一个Asp.net Web应用程序,它将控制(允许/拒绝)访问某些页面,这些页面基于用户所属的组在我们现有的Active Directory安装程序中的成员网络(例如,如果用户是"帐户"组的成员,他们只会看到会计页面)。



如何在创建新的ASP.NET应用程序(项目)后实现这一点?



我只知道在创建解决方案时有一个"更改身份验证"选项,但我将如何从那里继续?



之后,我如何引用用户的Group值来控制页面访问?



非常感谢任何帮助。





问候,



Patrick

解决方案

嗨帕特里克,


欢迎来到MSDN论坛。


请参阅您的描述,您的问题是关于ASP.NET Active Directory开发。由于我们的论坛是讨论VS IDE,请重定向到
这个适当的论坛:  https://forums.asp.net/93.aspx/1?Active +目录+和+ LDAP 并开始一个新的主题以寻求更专业的支持,感谢您的
理解。



最好的问候,


萨拉


Hi All,

I am a new developer using Visual Studio 2017.

I wish to create a Asp.net web application that will control (Allow/Deny) access to certain pages based on which Group the User is a member of in a already existing Active Directory Setup on our network(e.g. if the user is Member of "Accounts" Group they will only see Accounting pages).

How will I be able to implement this after creating a new ASP.NET application(project)?

I only know that there is a "Change Authentication" option when creating the solution, but how would I proceed from there?

After that, how would I reference the user's Group value to control page access?

Any help is greatly appreciated.

Regards,

Patrick

解决方案

Hi Patrick,

Welcome to the MSDN forum.

Refer to your description, your issue is about the ASP.NET Active Directory development. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://forums.asp.net/93.aspx/1?Active+Directory+and+LDAP and start a new thread to seek for a more professional support, thank you for your understanding.

Best regards,

Sara


这篇关于如何创建使用Active Directory控制Access的ASP.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆