IE7 如何确定站点的安全区域
有谁知道 IE7 如何确定站点使用哪个安全区域? 我在此处查看了 IE6 的基础知识,但我找不到 IE7 的等效项。
Does anyone know how IE7 determines what Security Zone to use for a site? I see the basics for IE6 here, but I can't find the equivalent for IE7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
不确定是什么混乱。 Intranet 上的站点位于 Intranet 区域,网站位于 Internet 区域,您计算机上的站点位于本地区域,除非您专门覆盖了浏览器首选项中的某些内容。
Not sure what the confusion is. Sites on your intranet are in the intranet zone, web sites are in the internet zone, and sites on your computer are in the local zone, unless you've specifically overridden something in the browser's preferences.
它确定 IE6 和 IE7 之间区域的方式确实发生了变化。 IE6 的做法存在一些错误。 不幸的是,我不知道任何关于它是如何做到这一点的文档。 如果您发布了给您带来麻烦的 URL,或者对您正在尝试解决的问题给出了一些指示,并且您认为此信息可以为您解决问题,我们也许可以通过其他方式提供帮助。
The way it determines zone between IE6 and IE7 did change. There were bugs in how IE6 did it. Unfortunately I know of no documentation on exactaly how it does it. If you posted the URLs that are giving you trouble, or gave some indication as to the problem you're trying to solve that you think this information would solve for you, we may be able to help in some other way.
安全区域通过附加到文件的 ADS 流进行配置,但不限于此。 当 IE7 从互联网下载文件时,它会附加一个描述文件所属区域的 ADS 流。 从 http://technet.microsoft.com/en- 查看 Streams 工具us/sysinternals/default.aspx。
Security Zones are configure, but not limited to, by an ADS stream attached to the file. When IE7 downloads a file from the internet, it attaches an ADS stream that described the zone the file belongs to. Check out the Streams tool from http://technet.microsoft.com/en-us/sysinternals/default.aspx.
我可以使用更多信息来缩小我的答案范围,但这就是我所拥有的:
Internet Explorer 默认有 5 个不同的安全区域:本地计算机区域、Intranet、Internet、受信任和受限制
这些是在 urlmon.dll (Url Moniker) 中确定的
更多信息请参见:http://msdn.microsoft.com /en-us/library/ms537183(VS.85).aspx
但您也可以实现自己的自定义安全区域:
http://msdn.microsoft.com/en-us /library/ms537182(VS.85).aspx
IE 确定安全区域的方式不应在 IE6 和 IE7(或 IE8)之间发生变化
Intranet 站点确定:
1. 按 url 主机名不包含任何点(http://stackoverflow 与 http: //stackoverflow.com)
I could use a little more information to narrow down my answer, but here is what I have:
Internet Explorer has 5 different security zones be default: Local Machine Zone, Intranet, Internet, Trusted, and Restricted
These are determined in urlmon.dll (Url Moniker)
More information here: http://msdn.microsoft.com/en-us/library/ms537183(VS.85).aspx
But you can also implement your own custom security zone:
http://msdn.microsoft.com/en-us/library/ms537182(VS.85).aspx
The way that IE determines the security zones should not have changes between IE6 and IE7 (or IE8 for that matter)
Intranet sites are determined:
1. By url host names do not have any dots (http://stackoverflow vs http://stackoverflow.com)