Click to See Complete Forum and Search --> : Run a program from a html page . . .


Code One
03-28-2003, 08:06 PM
Description:
I have linked several programs from my C: drive to a webpage I've built which is to remain offline.

Problem:
When I call on them to run, stupid IE asks me if I would like to run the program from it's current location, or if I would like to save the file to disk, so of course I don't want to save the file so I run the file. Then the annoying security feature imposseses and asks me if I want to go threw with this since the software has no certificates. Well I sure do IE, because I know were they've been and what they are.

Question:
Is there anyway to set up a code that can:
a. Automatically select run file from current location
<or>
b. Totally avoid being asked these things with out lowering my all around security.
<or>
c. atleast have the Run from it's current location's radio button set as the default button, to save me some time by having to select it, (the save to disk radio button is the default).

I know this makes me sound lazy but other's here use the program as well and they keep whining about the extra steps to the programs. I have to admit they are annoying (the extra steps that is, :p). Any help, any one?

Thanks in advance!

Code One

Code One
03-28-2003, 08:27 PM
Again I have to thank you for informing me on something I thought I knew alot about but it turns out that I knew very little about, I thought the settings would effect both, and Im mainly concerned about the net, for reasons we should all be familuar with. I will try that to see if it helps any, I bet it will still ask if I want to save this to disk or to run it from it's current location. Which is getting alot better, and Im sure these crazy guys will stop whining. Ok probably not. Thanks anyway despite what some think I think your info was great.

Code One

Code One
03-28-2003, 08:47 PM
Tried that and it just doesnt get off the ground. There is no way for me to specify what url to trust because it isnt a http: url, it is a C:drive url and I dont have anyway to allow it to be added, so Id have to lower my all around security and that would be logically un-sound. Thanks just the same.


Code One

P.s. anyone that know how to do any of this with code, please share!!!!!

jdavia
03-28-2003, 09:19 PM
Originally posted by Code One

P.s. anyone that know how to do any of this with code, please share!!!!!
Just a crazy idea. Since I don't know much about it, but I do experiment.
An HTML document has the internet written all over it. Since you don' have the internet in mind, try removing the <HTML> tags and such. or remove it and add File:///.

Code One
03-28-2003, 09:30 PM
Unfortunatly that wouldnt work. Because of two reasons that I can come up with off the top of my head:

1. The program is still being called to run from the page which is inside of the browser, and IE's security still will bully it around.

2. I would still need a <a href=""> tag to be able to call the programs from the page, and if you mean using relative links, like:"Program.exe", that wouldnt work because the computer has to know exactly were it is so it can find it.

I appreciate your help though just the same! ;)

Code One

Code One
03-28-2003, 09:43 PM
Snuffed original question.

New question:
What is a authenticode, and how can I give a program one?

Thanks Dave!


Code One

Code One
03-28-2003, 10:06 PM
I can see the difference it is not a huge one, but a difference. However, that would be a logical tragedy that would allow anyone to begin uploading athere favorite virus to me with out me knowing or with little effort. Not quite what I would enjoy having done, I seem to be allergic to viruses. Also as I mentioned above the program Im running is indeed on my C drive, and is called by using a absolute link. I have no intent to change that. Therfor, I will simply apply a authenticode to my programs which leaves me with this question;

How do I do that?

You dont have to answer when you dont want to,

Code One

Code One
03-28-2003, 10:29 PM
I would have to get a certificate from versign saying it was my program, blah blah blah, and is not worth the effort, plus the intranet thing worries me a bit, and I dont think a problem as insignificant as this is worth putting hardware at risk, so if you want you can close this thread it serves no purpose to anyones education.

Thanks though

Code One

jdavia
03-28-2003, 10:57 PM
Originally posted by Code One
I would have to get a certificate from versign saying it was my program,

Authenticode just verifies that the file you're
getting is really from that site and hasn't been tampered with. Nothing more. In your case you know it is.
you can ignor the message or not use Authenticode

jdavia
03-28-2003, 11:22 PM
Originally posted by jdavia
Authenticode
If I am not mistaken, If ActiveX was disabled these types of problems won't exist.
Here is an interesting article HERE (http://www.interesting-people.org/archives/interesting-people/199907/msg00049.html)

On a second thought. These programs might be exe's
if so, that's the reason you get the messages. The internet doesn't open these files, it downloads them. Yhe messages are standard for a variety of circumstances. Not always within reason.

Gobd
03-29-2003, 12:29 AM
Can i see the code you are using real quick? I just solved my own probem like this last night and once i see your code i can probably explain it to ya pretty fast.

Also, the way you are doing it right now do your programs run at all? Or are they just running in the bkacground (taskmanager).

*edit* the only thing i wasn't able to get to work was the security warning, i had to upload my .html file to my host and then add that url to the trusted sites in IE and then make the securiy lowest for all of my trusted sites, that way works fine for me though.

Code One
03-29-2003, 12:41 AM
IE had managed to invade with the security feature anyway, and the only way to avoid that is by rewritting my browser, and this problem is not worth all that hassle, the authenticode is just a program that verfies the authenticty og programs which have been downloaded over the net, but if I lower that and I decide to download a program from some one not known and there is a bad code or missing part and I accidentally donwload a trojan, or virus, or logic bomb, etc, then I would never no until my computer screams at me and croaks. Therfor its probably best to keep your settings high, considering there are an average of 8 viruses being made a day and about 5600 viruses and rising.

Good luck be safe

Code One