i'm currently developing an new web application using ASP .NET MVC5 framework on my machine (local development environment). I need to implement user authentication via Active Directory. As I'm still in the development phase, there's a server hosted as a virtual machine in my network. The server is where i will host the application and it contains the Active Directory. I want to know if it is possible to perform an AD authentication to the server from my local environment to ensure that my codes are working before pushing the codes to the server.
1 Answers
2
votes
You will want to use Windows authentication. There is lots of information online on how to set that up.
Windows authentication will use Active Directory if the server is joined to a domain. But it also allows a client to authenticate with a local Windows account (an account that only exists on the server the website is running from).
So if your dev environment is not joined to an Active Directory domain, just use a local Windows account to test with. Once you put it on the server, it will work with AD accounts in the domain that the server is part of.