如何禁用“ ActiveX控件可能不安全”?弹出 [英] How to disable "ActiveX Control May Be Unsafe" popup

查看:174
本文介绍了如何禁用“ ActiveX控件可能不安全”?弹出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的电脑上的HTML文件中,我试图在脚本中使用Scripting.FileSystemObject。如何禁用显示此页面上的任何ActiveX控件可能对脚本不安全的弹出窗口?

In an HTML file on My Computer, I'm trying to use the Scripting.FileSystemObject in a script. How can I disable the popup saying "Any ActiveX control on this page may be unsafe for scripting"?

Internet选项安全窗格允许设置初始化并对于各个区域,脚本ActiveX控件未标记为可以安全地进行脚本化为已启用,但是本地计算机上的文件似乎不在任何列出的区域中。

The "Internet Options" Security pane allows one to set "Initialize and script ActiveX controls not marked as safe for scripting" to Enabled for various zones, but files on the local computer don't appear to be in any of the listed zones.

因此,我猜想另一个问题是如何编辑本地文件的安全性选项?

So I guess the alternate question is "How can I edit the security options for local files?"

系统:
Windows XP SP3

Internet Explorer 7

System: Windows XP SP3
Internet Explorer 7

推荐答案

通过纯黑客手段,我发现设置以下注册表值可以做到这一点:

By pure hackery, I discovered that setting the following registry value does it:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0]
"1201"=dword:00000000

但是我仍然想知道是否有任何支持这样的方式。

But I'm still wondering whether there's any supported way of doing this.

这篇关于如何禁用“ ActiveX控件可能不安全”?弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆