I want to know if it possible do an application with authentication with active directory in MVC 3 with c#? Thank you
Asked
Active
Viewed 3,097 times
1
-
1You can also use Fluent Security Nuget (http://www.fluentsecurity.net/) – Narendra V Mar 28 '12 at 08:21
1 Answers
4
The answer is (drumroll please)... Yes! :)
Jokes aside, you can try the ActiveDirectoryMembershipProvider, but I've found in practice it was simpler to authenticate manually since we have a complex environment, so YMMV. Here's a good place to start if you have to go that route: http://www.codeproject.com/Articles/18102/Howto-Almost-Everything-In-Active-Directory-via-C
Here's a similar question that demonstrates out-of-the-box ActiveDirectoryMembershipProvider with ASP.Net MVC: ASP.NET MVC - Authenticate users against Active Directory, but require username and password to be inputted