开发者

ActiveX in IE - disabling it outside the browser?

开发者 https://www.devze.com 2023-04-12 03:05 出处:网络
I\'m using ActiveX to create textfiles: var fso = new ActiveXOb开发者_Python百科ject(\"Scripting.FileSystemObject\");

I'm using ActiveX to create textfiles:

var fso = new ActiveXOb开发者_Python百科ject("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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号