Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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…

948 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now