Solved

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

Posted on 2004-08-22
6
691 Views
Last Modified: 2012-05-05
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
Comment
Question by:nabilpk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 63 total points
ID: 11867496
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
 
LVL 5

Assisted Solution

by:LindzK
LindzK earned 62 total points
ID: 11868237
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
 
LVL 21

Expert Comment

by:pinaldave
ID: 12391211
no you can not do that. That is illigal question.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Magento: different theme for Pc and for mobile devices 4 117
asp Google Map 2 91
Keyup listener getting fired on initial page load 1 51
Presenting my portfolio on the web? 11 52
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question