Windows身份验证功能不适用于IIS7 [英] Windows authentication feature is not working on IIS7

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

问题描述

Iam在IIS 7服务器上使用Windows身份验证功能时遇到了麻烦.

我的网站托管在IIS6 www.example.com上,为此我为www.example.com/logs设置了Windows身份验证,并通过身份验证窗口进行提示.我将相同的代码库用于IIS7服务器,并且在设置Windows身份验证www.example.com/logs并浏览它时,它没有提示身份验证窗口.而是将其重定向到www.example.com.

我尝试了多种方法来解决此问题,并发现了一些琐碎的案例,例如:

1)当我尝试浏览日志文件夹下的文件(即www.example.com/logs/test.txt
)时,将提示Windows身份验证窗口
2)我在其他IIS 7服务器上托管了相同的代码,并看到Windows身份验证在它们的日志文件夹中正常运行.

我得出一个结论,这是Windows身份验证未应用到文件夹级别的服务器出现问题.我什至在IIS管理器中检查了IIS下的Windows身份验证功能.它也已安装.

您能否帮助我解决此问题,还是可以建议其他替代方法来提供对日志文件夹的安全访问?



谢谢

Iam facing a trivial case with Windows Authentication feature on IIS 7 server.

I have website hosted on IIS6 www.example.com for which i set windows authentication for www.example.com/logs which is prompting with a authentication window. I took the same code base to IIS7 server and when setting windows authentication www.example.com/logs and browsing it, it is not prompting authentication windows. Instead it is redirecting to www.example.com.

I tried many ways to resolve this issue and found few trivial cases like:

1) Windows authentication window is prompted when i try to browse a file under logs folder i.e. www.example.com/logs/test.txt

2) I Hosted the same code on other IIS 7 server and case see windows authentication is working properly their for logs folder.

I came to a conclusion it is something problem with the server where windows authentication is not getting applied to folder level. I even checked in IIS manager for Windows authentication feature under IIS. It is also installed.

Can you please help me in fixing this issue or can you please recommend some other alternative for providing security access to logs folder.



Thanks

推荐答案

需要启用Windows身份验证并禁用其他身份验证.
need to enable windows authentication and disable others.


此处:
MS Technet:配置Windows身份验证(IIS 7) [ ^ ]

总体: MS Technet:在IIS 7中配置身份验证 [ ^ ]
Here:
MS Technet: Configure Windows Authentication (IIS 7)[^]

Overall: MS Technet: Configuring Authentication in IIS 7[^]


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

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