Solved

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

Posted on 2004-08-22
6
690 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

761 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