IE 中的 ActiveX - 在浏览器外禁用它?

发布于 2024-12-08 18:40:12 字数 263 浏览 2 评论 0原文

我正在使用 ActiveX 创建文本文件:

var fso = new ActiveXObject("Scripting.FileSystemObject"); 
var fh = fso.CreateTextFile(...

我知道用户需要在弹出窗口中单击“确定”才能创建文本文件。但是,是否可以保证只要用户在 IE 中接受 Activex 控件就可以使用它,或者是否有任何其他设置可能阻止它(在 Windows 中)?

谢谢

I'm using ActiveX to create textfiles:

var fso = new ActiveXObject("Scripting.FileSystemObject"); 
var fh = fso.CreateTextFile(...

I know that the user needs to click ok in a popup in order to allow the textfile to be created. But is there a guarantee that an activex control can be used as long as the user accepts it in IE, or is there any other settings that might prevent it (in windows)?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

债姬 2024-12-15 18:40:12

它可能被防火墙或防病毒产品阻止。

浏览器中的 ActiveX 是一个众所周知的安全问题。您给出的示例正是这样的事情,一个像样的防病毒产品应该在代码到达浏览器之前就将其拾取并删除。

It could be blocked by a firewall or ant-virus product.

ActiveX in the browser is a well known security issue. The example you've given is exactly the kind of thing that a decent anti-virus product should pick up and strip out of the code before it even reaches the browser.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文