开发者

How to use ASP.NET Membership with Active Directory for a company

开发者 https://www.devze.com 2023-04-10 12:25 出处:网络
I am new to the world of ASP.NET Web Forms and I was a Java developer for 3 years and I have a good knowledge of C# but I just used it for developing simple console applications.

I am new to the world of ASP.NET Web Forms and I was a Java developer for 3 years and I have a good knowledge of C# but I just used it for developing simple console applications. Now, I am having a project in ASP.NET and the first thing I am thinking to do is the administrative tasks like adding users and managing users roles. For this part, I am having two options either to use the forms authentication or to use the active directory. I am gonna use the active directory with the ASP.NET Membership but now I am facing some problems.

I tried to follow the procedures written on the following link.

But I failed to get them right from the first step which is creating a new website because as you see, t开发者_Python百科he author specified the web location as HTTP and then he specified the located folder as https://localhost/. when I did this it gave me an error message about the inability to connect to the IIS, I don't know what the reason so I made the location to my file system. Then for the security, I chose the local Area Network for security because the project that I am developing is for a company so I need to use the windows credentials. But at the end, I failed on configuring the membership for the rest of users in the company and I do know what the reason behind that.

Any help?


Do you have a look to these two links :

How To: Use Forms Authentication with Active Directory in ASP.NET 2.0

Active Directory Authentication from ASP .NET

0

精彩评论

暂无评论...
验证码 换一张
取 消