简体   繁体   English

IE7如何确定站点的安全区域

[英]How IE7 determines a site's Security Zone

Does anyone know how IE7 determines what Security Zone to use for a site? 有谁知道IE7如何确定用于网站的安全区? I see the basics for IE6 here , but I can't find the equivalent for IE7. 我在这里看到IE6的基础知识,但我找不到IE7的等价物。

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 Internet Explorer默认有5个不同的安全区域:本地计算机区域,Intranet,Internet,受信任和受限制这些是在urlmon.dll(Url Moniker)中确定的更多信息: 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 但您也可以实现自己的自定义安全区域: 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) IE确定安全区域的方式不应该在IE6和IE7(或IE8)之间进行更改

Intranet sites are determined: 1. By url host names do not have any dots ( http://stackoverflow vs http://stackoverflow.com ) 确定Intranet站点:1。通过url主机名没有任何点( http:// stackoverflow vs http://stackoverflow.com

  1. Sites from the file:// scheme where the resource is collected from UNC 来自file:// scheme的站点,其中资源是从UNC收集的

Security Zones are configure, but not limited to, by an ADS stream attached to the file. 安全区域由附加到文件的ADS流配置,但不限于此。 When IE7 downloads a file from the internet, it attaches an ADS stream that described the zone the file belongs to. 当IE7从Internet下载文件时,它会附加描述文件所属区域的ADS流。 Check out the Streams tool from http://technet.microsoft.com/en-us/sysinternals/default.aspx . 查看来自http://technet.microsoft.com/en-us/sysinternals/default.aspx的Streams工具。

The way it determines zone between IE6 and IE7 did change. 它确定IE6和IE7之间区域的方式确实发生了变化。 There were bugs in how IE6 did it. IE6是如何做到这一点的。 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. 如果您发布了给您带来麻烦的网址,或者您正在尝试解决的问题有一些迹象表明您认为此信息会为您解决,我们可能会以其他方式提供帮助。

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. Intranet上的站点位于Intranet区域中,Web站点位于Internet区域中,并且计算机上的站点位于本地区域中,除非您在浏览器的首选项中专门覆盖了某些内容。

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

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