简体   繁体   English

如何在开发人员的角度解决IE8安全警告

[英]How to resolve IE8 Security warning in a developer prospective

I am facing attached warning message in all HTTPS pages in IE browser. 我在IE浏览器的所有HTTPS页面中都面临着附加警告消息。 I know it throw this warning when some thing is requested from HTTP serer on HTTPS pages. 我知道在HTTPS页面上从HTTP serer请求某些内容时会抛出此警告。

I checked everything. 我查了一切。 All images are pointing HTTPS links. 所有图像都指向HTTPS链接。 JS files are also pointing to HTTPS links. JS文件也指向HTTPS链接。 But I don't know why this warning is still there. 但我不知道为什么这个警告仍然存在。

And IE display this warning after loading the page not in between the loading process. 并且在加载页面之后,IE显示此警告不在加载过程之间。

Can you guys point me in the right direction. 你们能指出我正确的方向吗?

Thanks. 谢谢。

替代文字

I would highly recommend installing firefox and firebug , and use the NET panel to track your requests. 我强烈建议安装firefox和firebug ,并使用NET面板来跟踪您的请求。 Then you can find the request that is going over HTTP. 然后,您可以找到通过HTTP的请求。

Fiddler works for IE8 if you don't want to use firefox and firebug. 如果你不想使用firefox和firebug, Fiddler适用于IE8。

I really can't recommend firebug enough, it's completely awesome. 我真的不能推荐萤火虫,它非常棒。 Here is a screenshot of the net console in action. 这是运行中的网络控制台的屏幕截图。

替代文字

maybe you're still including libraries from external servers, install a http sniffer in your IE8 and try to look at these recommendations 也许你仍然包括来自外部服务器的库,在你的IE8中安装一个http嗅探器并尝试查看这些建议

http://blog.httpwatch.com/2009/04/23/fixing-the-ie-8-warning-do-you-want-to-view-only-the-webpage-content-that-was-delivered-securely/ http://blog.httpwatch.com/2009/04/23/fixing-the-ie-8-warning-do-you-want-to-view-only-the-webpage-content-that-was-delivered-安全/

You say you've checked JS and images; 你说你已经检查了JS和图像; have you checked CSS files as well? 你有没有检查过CSS文件?

But the most likely cause of this is a 404 error - if one of your images or scripts returns 'file not found', then the 404 error message will be served instead. 但最可能的原因是404错误 - 如果您的某个图像或脚本返回'找不到文件',则会提供404错误消息。 But the 404 error will not be in HTTPS mode, so you may get the above error. 但404错误不会在HTTPS模式下,因此您可能会收到上述错误。

If you can't see any obvious loading errors on the page, you can check whether you're getting any by looking in a debug tool like Firebug (the loading error should presumably still happen in any browser, even if it's only IE that throws the warning message). 如果您在页面上看不到任何明显的加载错误,您可以通过查看像Firebug这样的调试工具来检查是否有任何错误(加载错误应该可能仍然发生在任何浏览器中,即使它只是引发的IE警告信息)。

Hope that helps. 希望有所帮助。

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

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