OT: embedding exe inside html

hello,

im trying to figure out how to embed a computer program ( win xp 32-bit executable ) into an html page. the user should get a warning asking to download and run the program ( and im going to use verisign too so they’ll know its safeworthy ), and then their browser should download and immediately run the program.

ive looked and it seems you use the html tag, but i dont want to use activeX or java, and i dont want the program running in a box in the browser. im trying to make it as easy as possible for the visitor, and also take advantage of verisign’s verification method. a visitor would load a page, get asked to trust my company, and then the browser downloads and runs the program for them.

anybody done anything like this before or know how it could be done?

thanks,

  • jeremiah

[…]

What does this thing do with SDL?

But to answer you: The simplest thing you could do is to put your
executable file in a perl, sh or php file, and then when the visitor
consult your webpage, the perl script will automatically decode and send
to the browser the executable file. You need to convert your binary file
in 7 bit ascii code to be compatible with the script, and the script
will recode your file in 8 bits.

But I don’t know why you don’t put the binary executable file directly
on your website?

For the Verisign: Your webserver should use the SSL protocol, it’s on
the http protocol level and has nothing to do with which kind of html
files you share.On Wed, Feb 04, 2004 at 02:26:00PM -0500, Martell, Jeremiah wrote:

hello,


saf at http://TrashMail.net/
No more spam, free disposable email addresses.

ive looked and it seems you use the html tag, but i dont want
to use activeX or java

then you’re out of luck. Think about it. Would you want someone’s
arbitrary code running on your machine just by visiting a webpage?

My question had nothing to do with SDL, hence the “OT” ( off topic ) in the subject line.

I understand your solution, but I dont think that would cause the browser to validate the signature of the executable. It’s easy enough to get the browser to load the exe, but Im wanting to take advantage of Verisign’s code signing. If I’m not mistaken SSL is just used for secure connections, not code signing. I could put the exe directly on my website, but again Im looking to make it was easy and quick as possible for my vistors so they can 1) see the program validated by Verisign and 2) download it and run it quickly ( without having to worry about where to save it to, where they saved it, and then having to go find it and run it afterwards ).

I know it’s difficult to explain concepts in email, so if Im confusing, just let me know, and I’ll try to clarify.

  • Jeremiah-----Original Message-----
    From: sdl-admin at libsdl.org on behalf of saf [TrashMail.net]
    Sent: Wed 2/4/2004 2:58 PM
    To: sdl at libsdl.org
    Cc:
    Subject: Re: [SDL] OT: embedding exe inside html

    On Wed, Feb 04, 2004 at 02:26:00PM -0500, Martell, Jeremiah wrote:

    hello,

    […]

    What does this thing do with SDL?

    But to answer you: The simplest thing you could do is to put your
    executable file in a perl, sh or php file, and then when the visitor
    consult your webpage, the perl script will automatically decode and send
    to the browser the executable file. You need to convert your binary file
    in 7 bit ascii code to be compatible with the script, and the script
    will recode your file in 8 bits.

    But I don’t know why you don’t put the binary executable file directly
    on your website?

    For the Verisign: Your webserver should use the SSL protocol, it’s on
    the http protocol level and has nothing to do with which kind of html
    files you share.


    saf at http://TrashMail.net/
    No more spam, free disposable email addresses.


    SDL mailing list
    SDL at libsdl.org
    http://www.libsdl.org/mailman/listinfo/sdl

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/ms-tnef
Size: 5374 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040204/8f232a0c/attachment.bin

Well, not without my permission. I wouldn’t mind if I got a pop-up window asking, “Do you want to install and run this software?”, which I think is possible. That happens with ActiveX and Plugins, I just want it to work with a Windows Executable.

  • Jeremiah-----Original Message-----
    From: sdl-admin at libsdl.org on behalf of Shandy Brown
    Sent: Wed 2/4/2004 3:12 PM
    To: sdl at libsdl.org
    Cc:
    Subject: Re: [SDL] OT: embedding exe inside html

    ive looked and it seems you use the html tag, but i dont want
    to use activeX or java

    then you’re out of luck. Think about it. Would you want someone’s
    arbitrary code running on your machine just by visiting a webpage?


    SDL mailing list
    SDL at libsdl.org
    http://www.libsdl.org/mailman/listinfo/sdl

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/ms-tnef
Size: 4202 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040204/3c29e1f9/attachment.bin

Martell, Jeremiah escreveu:

Well, not without my permission.

Hello.

Can ywe please, move this to pvt?

I’m really not interested on it.

Thank you.

Adilson.–
Nullum magnum ingenium sine mixtura dementiae fuit - Seneca

what about using a javascript window.open?

youd put this in your html on the page
where you wanted the exe to pop up:

hope that works for you…

if it doesn’t do the trick you could always find a page that did what it was
you were trying to accomplish and view the source (:> ----- Original Message -----

From: sdl@xy1.org (Stephan Ferraro)
To:
Sent: Wednesday, February 04, 2004 11:58 AM
Subject: Re: [SDL] OT: embedding exe inside html

On Wed, Feb 04, 2004 at 02:26:00PM -0500, Martell, Jeremiah wrote:

hello,

[…]

What does this thing do with SDL?

But to answer you: The simplest thing you could do is to put your
executable file in a perl, sh or php file, and then when the visitor
consult your webpage, the perl script will automatically decode and send
to the browser the executable file. You need to convert your binary file
in 7 bit ascii code to be compatible with the script, and the script
will recode your file in 8 bits.

But I don’t know why you don’t put the binary executable file directly
on your website?

For the Verisign: Your webserver should use the SSL protocol, it’s on
the http protocol level and has nothing to do with which kind of html
files you share.


saf at http://TrashMail.net/
No more spam, free disposable email addresses.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl