我在 SSL 下有一个带有 iframe 的页面,它通过 HTTP 刷新 prgama 每 20 秒刷新一次。如果我在启用 IE7 并启用网络钓鱼过滤器的情况下浏览该站点,我会以不规则的时间间隔收到安全-非安全内容警告,如果网络钓鱼过滤器被禁用,这些警告就会停止。即使启用了网络钓鱼过滤器,是否有人知道我可以做些什么来消除警告?
2 回答
You should make sure the iframe url is using ssl(https).
I'm not sure how the phishing filter in IE works but I would make sure all iframes also comes from the same domain.
I assume that the content you are getting in the iframe is not from your own code.
One way to do both would be to setup a simple web "proxy", an address in your server that only forwards contents from the other website. This would though increase your server traffic by twice the amount that you visitor today is consuming. However this could be reduced to half by caching the data assuming it is the same for all your visitors.
That's a browser setting in IE7 which you wouldn't be able to enable/disable from your code. It's something that you'll have to fix so the user doesn't get the message in the first place.