简体   繁体   中英

How to resolve IE8 Security warning in a developer prospective

I am facing attached warning message in all HTTPS pages in IE browser. I know it throw this warning when some thing is requested from HTTP serer on HTTPS pages.

I checked everything. All images are pointing HTTPS links. JS files are also pointing to HTTPS links. 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.

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. Then you can find the request that is going over HTTP.

Fiddler works for IE8 if you don't want to use firefox and firebug.

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

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/

You say you've checked JS and images; have you checked CSS files as well?

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. But the 404 error will not be in HTTPS mode, so you may get the above error.

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).

Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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