windows authentication in windows features in iis

孤人 提交于 2019-12-04 04:56:11

问题


I'm having an issue setting up Windows Authentication in IIS 7 on my Windows 7 machine. I know by default this option isn't applied by IIS so you have to tick the Windows Authentication tickbox in Windows Features->Internet Information Services->World Wide Web Services->Security. However, under Security there are only 4 options, which are, i) Basic Authentication ii) IP Security iii) Request Filtering iv) URL Authorization Is there any way of getting the Windows Authentication option here? This isn't the only instance where I have noticed this, I've encountered the same problem on another machine with Windows 7 as well.

Thanks,

Pradeep Patel.


回答1:


I think you need to install it first.

  1. On the taskbar, click Start, and then click Control Panel.
  2. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off.
  3. Expand Internet Information Services, then World Wide Web Services, then Security.
  4. Select Windows Authentication, and then click OK.

source: http://www.iis.net/

This is probably caused by a version of Windows, which doesn't provide domain authentification. This can only be accomplished by professional or higher versions of windows.




回答2:


Because I have the home edition of 7, windows authentication wasn’t available. So enabling or disabling it in my project didn’t really do anything. https://technet.microsoft.com/en-au/library/cc754628(v=ws.10).aspx

The only way I could run my app was by clicking on the solution file in Visual Studio to figure out which is my startup project of my solution. And then I go to the startup project and enable Anonymous Authentication. Worked for me.



来源:https://stackoverflow.com/questions/13683560/windows-authentication-in-windows-features-in-iis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!