WIndows身份验证不起作用 [英] WIndows Authentication not working

查看:385
本文介绍了WIndows身份验证不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在干净的Windows Server 2008 R2上新安装的IIS。安装了所有安全选项。然后,对于默认的网站身份验证,启用Windows身份验证并禁用所有其他身份验然后当访问默认页面iisstart.htm时,它应该给我一个认证消息弹出窗口。

Newly installed IIS on a clean windows Server 2008 R2. Installed all security option. Then for the default web site authentication, enabled windows authentication and disabled all others. Then when access the default page iisstart.htm, it should give me a popup for authentication message.

但是当我访问测试页面时: http://localhost/iisstart.htm ,没有弹出窗口。与启用匿名身份验证相同。

but when I access the test page like: http://localhost/iisstart.htm, there is no popup. same as enabled Anonymous Authentication.

如何修复?

推荐答案

首先确保检查应用程序池用户是否可以访问网站文件(NTFS安全设置)。请参阅: IIS7权限概述 - ApplicationPoolIdentity

First of all make sure you check if the app pool user can access the files of the website (NTFS security settings). See: IIS7 Permissions Overview - ApplicationPoolIdentity

之后(并仔细检查在IIS中仅启用了Windows身份验证)考虑到您的 URL不得包含点!您可以进行额外的绑定(请参阅: https: //technet.microsoft.com/en-us/library/cc731692(v=ws.10).aspx )只包含字母和数字,然后将该绑定添加到本地主机文件中(打开文本编辑器)以管理员身份编辑文件主机,然后在C:\ Windows \ System32 \ drivers \ etc中)进行检查。

After that (and double checking that only Windows Authentication is enabled in IIS) take into account that your URL must not contain dots! You can make an extra binding (see: https://technet.microsoft.com/en-us/library/cc731692(v=ws.10).aspx) that contains only letters and numbers and then add that binding to your local hosts file (open a text editor as administrator and then edit the file hosts in C:\Windows\System32\drivers\etc) to check.

这篇关于WIndows身份验证不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆