Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to dynamically disable IE code blocking and warning messages 2

Status
Not open for further replies.
Joined
May 11, 2006
Messages
3
Location
CA
I am developing a HTML page with JavaScript code that runs an exe program using ActiveX object. Internet explorer shows in the information bar that there are blocked contents; it also pops up with security warnings regarding the ActiveX object.

Is there any way to dynamically disable these security blockings and warning messages until the program finishes its task then return the security warnings back?

I very much appreciate your responses

Thanks;

David;
 
Fortunately, there isn't a way to disable the warnings if a viewer hasn't set the security for the browser to allow that. I wouldn't want to see that kind of freedom given to web developers, to override what I set the security of the browser on my computer to be. Can you imagine the nasty stuff that someone could do if the security settings were able to be overridden by a web page?

Lee
 
Thanks for your replay.... I am wonder if you could help me with a better solution in this program:

I built a web application that has to run in the client side to test if the employee in the company who is using the internet (from home) is connected to the company's network (via PVN) or not? if he/she is connected to the network, the html directs him/her to any authorized homepage such as and he/she will be monitored by the gateway server, otherwise the application pops up an alert message informing the user to connect to the network first then it closes itself.

The html page creates an AciveX object to ping the gateway server from the client machine. If the ping return is positive then the user is connected otherwise is not connected.

Thanks very much

David;
 
Check out my post from April 2005, which shows how to detect whether a user is online or not (found by searching for "online"):

thread216-1041234

Simply put the URL of the image as being one on your intranet.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top