I'm reading about how to set up windows authentication for my web application on IIS 7. In the description they have Window Authentication as an option in IIS.
I have windows authenication turned on for my machine(I'm on Windows 7 Professional 64bit) and I still don't see it as one of the authentication options for my web application. Why?
In Control Panel, click Programs and Features, and then click Turn Windows features on or off. Expand Internet Information Services, expand World Wide Web Services, expand Security, and then select Windows Authentication. Click OK. Click Close.
Select File >> New >> select ASP.NET Core Web Application, and change the authentication to Windows Authentication. We can also configure the existing application for Windows Authentication by selecting the option of WA. To configure the authentication manually, open Visual Studio project properties >> go to Debug tab.
Authentication: The client generates and hashes a response and sends it to the IIS server. The server receives the challenge-hashed response and compares it to what it knows to be the appropriate response. If the received response matches the expected response, the user is successfully authenticated to the server.
I got hit by this and it was something as simple as having not started IIS Manager with 'run as administrator'. Very frustrating, but I got there in the end!
I stumbled upon this, but couldn’t find Security feature under “Turn Windows feature on or off”. In Windows Server 2008 R2, this is located under Server Manager -> Roles -> Web Server (IIS) -> Add Role Services. May be it helps someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With