I want to be able to have [some kind of web content] open the "Save File" dialog box so [the user] can just click "open" and have [arbitrary code executed on the user's computer].

If you find that this is possible, you should immediately report it to BugTraq, as it would be a fairly serious security problem that would need to be fixed ASAP in a critical security update.

The closest you can probably come right now is to create an ActiveX control that does this, but it will only work in IE, and the user will have to frob an "install anyway" button when IE warns them that the control is untrusted or whatever, and the next service pack might break it; on the whole, I do not recommend using ActiveX.

For something simple like launching a game, it might be much easier to just provide an .exe file that launches the game, and instruct the user to save it on the desktop and then tell them to go to the desktop and then go double-click the icon on the desktop. Or you could skip the special .exe launcher and just tell them what to do to join the game. That last approach is probably the most-recommended one.


"In adjectives, with the addition of inflectional endings, a changeable long vowel (Qamets or Tsere) in an open, propretonic syllable will reduce to Vocal Shewa. This type of change occurs when the open, pretonic syllable of the masculine singular adjective becomes propretonic with the addition of inflectional endings."  — Pratico & Van Pelt, BBHG, p68

In reply to Re: Running an application on a user's computer from a CGI script. by jonadab
in thread Running an application on a user's computer from a CGI script. by Cap'n Steve

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.