How do I create a link on a Web page on my hard drive that will run an
executable file on my hard drive?
For example, let's say I create runpoodle.htm and save it to my hard
drive, and let's also say I have an executable file on the root of C
named c:\poodle.exe.
How can I create a link of some sort on runpoodle.htm that will run
poodle.exe on c:\ ?
Better yet, can I specify a data file that poodle.exe will open after it
starts?
I use Windows XP Pro, and when I create a simple href anything like this
<a href="file:\\c:\poodle.exe"> Run POODLE.EXE</a>
the result is that Windows or maybe Internet Explorer opens a security
warning box asking whether I want to download poodle.exe.
If you need any other information, please let me know.
If this is not the appropriate newsgroup for this question, can you
suggest which ones I should try?
Thanks.
--Johnny
johnnyg aattssiiggnn kc.rr.com
Lāʻie Techie - 17 Oct 2004 06:47 GMT
> How do I create a link on a Web page on my hard drive that will run an
> executable file on my hard drive?
>
> For example, let's say I create runpoodle.htm and save it to my hard
> drive, and let's also say I have an executable file on the root of C named
> c:\poodle.exe.
Sounds like you haven't yet attained the status of Script Kiddie, much
less Hacker.
As your browser currently warns, allowing an HTML file to execute an
arbitrary file is a _HUGE_ security risk.
IF you made use of PHP (or another server-side language), you could have
it execute poodle.exe on the server's hard drive, provided your server had
the proper permissions.
HTH,
La'ie Techie