I am trying to start a visual studio MVC project with IIS. Here are the instructions for enabling Windows authentication:
To enable Windows authentication on Windows:
a) In Control Panel open "Programs and Features".
b) Select "Turn Windows features on or off".
c) Navigate to Internet Information Services > World Wide Web Services > Security
and make sure the Windows authentication node is checked.
Following those instructions, here is what I see. I don't see a Windows Authentication node. How can I enable it?
In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services. On the Select Role Services page of the Add Role Services Wizard, select Windows Authentication, and then click Next. On the Confirm Installation Selections page, click Install. On the Results page, click Close.
In IIS Manager, click the virtual directory for which you want to set authentication. Right-click Authentication in the Home panel and select Open Feature to open the Authentication panel. Enable Anonymous Authentication. Enable Windows Authentication.
Start Visual Studio and select Create a new project. In the Create a new project dialog, select ASP.NET Core Web App (or Web API) > Next. In the Configure your new project dialog, enter Project name > Next. In the Additional Information dialog, select Authentication Type as Windows.
Windows authentication enables the separation of duties. The Active Directory (AD) team manages the AD users. Whereas, the DBA adds AD users in the SQL instances and provides appropriate permissions. Active Directory helps to create Windows groups.
With Windows 7, Windows Authentication is only available for:
I would imagine, since the option is not available to you, this has not changed for Windows 8. Unless you can confirm you are running one of these versions that is!
Not available for:
Windows Authentication is not supported Home or Starter editions of Windows Vista® and Windows® 7.
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