Launching EXE's from HTML

G

Guest

I am writing an HTML program that will be distributed on CD's. I want to be
able to launch an executable program that is also stored on the CD from a
hyperlink on one of the HTML files. Everytime I click on the link to run the
program, the browser displays a Security Warning asking the user if they want
to run or save the exe file. After clicking Run, it displays another warning
saying the publisher could not be verified and asks the user if they wish to
continue.

My question is... Is there a way to launch an executable from HTML and
bypass the security warnings? All of the HTML files and executable programs
will be part of a package that we will be distributing on a CD to our
clients, so there shouldn't be a security issue. I realize these security
mechanisms are built into the browser to protect users from malicious
software on the internet, but is there a way to temporarily disable these
from within our program so the user can launch the executables seemlessly? Is
there a way to set the Security Zone on the user's browser so that it will
trust the content running from our CD?

Thanks for any help anyone can offer.
 
S

Stefan B Rusynko

HTA's will also throw a security alert

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| To answer your main question.
|
| No. You can't launch an executable from a link in an html page in a browser window without getting the security prompts.
|
| However you might want to check into .hta ( html application file ) files as a web page.
| With the proper settings enabled within the hta it might be possible.
|
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| FP Cleaner
| http://www.95isalive.com/fixes/fpclean.htm
| Hit Me FP
| http://www.95isalive.com/fixes/HitMeFP.htm
|
|
|
|
| >I am writing an HTML program that will be distributed on CD's. I want to be
| > able to launch an executable program that is also stored on the CD from a
| > hyperlink on one of the HTML files. Everytime I click on the link to run the
| > program, the browser displays a Security Warning asking the user if they want
| > to run or save the exe file. After clicking Run, it displays another warning
| > saying the publisher could not be verified and asks the user if they wish to
| > continue.
| >
| > My question is... Is there a way to launch an executable from HTML and
| > bypass the security warnings? All of the HTML files and executable programs
| > will be part of a package that we will be distributing on a CD to our
| > clients, so there shouldn't be a security issue. I realize these security
| > mechanisms are built into the browser to protect users from malicious
| > software on the internet, but is there a way to temporarily disable these
| > from within our program so the user can launch the executables seemlessly? Is
| > there a way to set the Security Zone on the user's browser so that it will
| > trust the content running from our CD?
| >
| > Thanks for any help anyone can offer.
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top