简体   繁体   English

IE安全区问题

[英]IE Securty Zone Issues

I'm developing a website which will be used in the corporate intranet which uses JCIFS and NTLM to automatically authenticate the users without asking them to log on. 我正在开发一个网站,该网站将在企业内部网中使用,该网站使用JCIFS和NTLM自动验证用户身份,而无需他们登录。 Everything seems to be working in IE 6, but some users are being prompted for their passwords in IE 7. IE 6似乎一切正常,但是在IE 7中提示某些用户输入密码。

We've had some success by getting the users to change their Logon option to "Automatic logon using current username and password" (Tools > Internet Options > Securty Tab > Select Local Intranet > Custom Level > All the way at the bottom User Authentication > Logon), but we are still having a few users who are getting username/password prompts. 通过使用户将登录选项更改为“使用当前用户名和密码自动登录”,我们取得了一些成功(工具> Internet选项>安全选项卡>选择本地Intranet>自定义级别>一直位于底部的用户身份验证>登录),但仍然有少数用户正在获取用户名/密码提示。

Also, we've had some users report they can just click cancel when the prompt comes up and the page will come up correctly. 另外,我们已经有一些用户报告说他们可以在出现提示时单击取消,然后页面就会正确显示。

If anyone has any other suggestions, I'd greatly appreciate them. 如果有人有其他建议,我将不胜感激。

You may also want to try having your users add your domain to their trusted sites list. 您可能还想尝试让用户将您的域添加到其受信任的站点列表中。 I know that I had to do that to get our sites working with NTLM. 我知道我必须这样做才能使我们的网站与NTLM一起使用。

If you access an intranet Web site by using an IP address or a fully qualified domain name , or a url with a dot in it the Web site may be identified as in the Internet zone instead of in the Local intranet zone. 如果您通过使用IP地址或完全限定的域名或其中带有点的url访问Intranet网站,则该网站可能被标识为Internet区域而不是Local Intranet区域。

http://support.microsoft.com/kb/303650 http://support.microsoft.com/kb/303650

Turned out that the new security settings on the laptops required NTLMv2 which is not well supported by the JCIFS NLTM library. 事实证明,笔记本电脑上的新安全设置需要NTLMv2,而JCIFS NLTM库没有很好地支持该设置。

After some research, found out that JCIFS implementation of NTLM is very hacky (as described by the JCIFS devs) and they're removing support in the next major version of JCIFS. 经过一些研究,发现NTLM的JCIFS实现非常hacky(如JCIFS开发人员所描述),并且他们正在删除JCIFS的下一个主要版本中的支持。 We've moved to using the Tomcat IIS Connector ( http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html ), which works much better. 我们已经转移到使用Tomcat IIS连接器( http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html ),其效果好得多。

Thanks everyone for your responses. 感谢大家的回应。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM