• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 697
  • Last Modified:

How to avoid message of "An ActiveX Control might be unsafe............" in web scripting.

Call script of "file system object" in  JavaScript or VBScript. When you run that code, a message of "An ActiveX control on this page might be unsafe to inetract with other parts of the page. Do you want to allow this interation?" appears.

If you click Yes then it will run that code otherwise not. I want to avoid that message. Can anyone help me.
0
nabilpk
Asked:
nabilpk
2 Solutions
 
ZylochCommented:
Hi

You can only do it on your browser, which means only for a Intranet will you have complete control. For IE, you'd go to Tools, Internet Options, Security, Custom Settings, under Scripting. For other users, it's there browser, so you can't get rid of the message.

Regards,
Zyloch
0
 
LindzKCommented:
Zyloch is right,, unless it's an intranet - you can not remove that message, and shouldnt' encouragethe user to do it.  ActiveX controls can have the ability to do very frightening things, such as read your registry - rewrite your host file.  So if it's for the internet, and the user wishes to have the warning on, it's safer for them.

I keep that warning on at all times, and if it's a site I trust, I let the activeX run - it's just too much of a dodgy thing to not be aware of, and I wouldnt' remove it for the world.

Older internet explorers don't turn the warning on unless you set it up in tools, newer browers sometimes do, as their security settings are set to high initally.
0
 
pinaldaveCommented:
no you can not do that. That is illigal question.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now