windows 关于 SEE_MASK_NOZONECHECKS 环境变量的文档
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/953959/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Documentation on the SEE_MASK_NOZONECHECKS environment variable
提问by Simon Lieschke
I'm helping to try track down and reproduce an issue with our web application in Internet Explorer for one of our clients. Their browser process is launched with the SEE_MASK_NOZONECHECKS
environment variable set. I'm trying to find out the changes that variable will have on Internet Explorer's behaviour. A Google searchreveals a single Microsoft Knowledge Base articlethat only says it will disable all Zone Checking, and a whole bunch of forum posts with similarly vague information.
我正在帮助我们的一位客户在 Internet Explorer 中尝试跟踪和重现我们的 Web 应用程序的问题。他们的浏览器进程是使用SEE_MASK_NOZONECHECKS
环境变量集启动的。我试图找出该变量对 Internet Explorer 行为的影响。一个谷歌搜索揭示了一个Microsoft知识库文章,仅表示将禁用所有检查区,和一大堆论坛的帖子与类似的模糊信息。
Does anyone know of any official documentation that provides more detailed information about the SEE_MASK_NOZONECHECKS
environment variable?
有谁知道提供有关SEE_MASK_NOZONECHECKS
环境变量的更详细信息的任何官方文档?
采纳答案by wkf
It seems to be referenced in the SHELLEXECUTEINFO structure, and directly affects the behavior of the IAttachmentExecute interface, specifically the CheckPolicy method. From MSDN:
它似乎在 SHELLEXECUTEINFO 结构中被引用,并直接影响 IAttachmentExecute 接口的行为,特别是 CheckPolicy 方法。来自 MSDN:
IAttachmentExecute::CheckPolicy examines a set of properties known collectively as evidence. Anything used to determine trust level is considered evidence.
IAttachmentExecute::CheckPolicy 检查一组统称为证据的属性。用于确定信任级别的任何内容都被视为证据。
Zone is one of the values examined by this function, which can be set with the SetReferrer method. Seems like having SEE_MASK_NOZONECHECKS
set causes the Zone check to be skipped here.
Zone 是此函数检查的值之一,可以使用 SetReferrer 方法进行设置。似乎SEE_MASK_NOZONECHECKS
设置会导致此处跳过区域检查。