Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Run Remote App from Web Page

1 view
Skip to first unread message

Greg55305

unread,
Nov 9, 2009, 5:14:02 PM11/9/09
to
I need to be able to start an application on a client machine from a web
page. I am in a controlled corporate environment so modifying browser
security settings is not the issue although I am hoping to be able to use the
Trusted Sites section of IE's security settings. I am hoping to avoid using
ActiveX if possible. In detail, the web page needs to build a command line
that launches the remote application passing it command line parameters. Is
this possible to do with JavaScript or maybe even Silverlight? I have
explained the issues with this to my business users, but they are adamant
this functionality exist...
--
Greg55305

Raghupathi K

unread,
Nov 10, 2009, 5:30:18 AM11/10/09
to
On Nov 10, 3:14 am, Greg55305 <Greg55...@discussions.microsoft.com>
wrote:

System.Diagnostics.Process.Start() (6 overloads)

http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx

By default, ASP.NET runs its worker process with a weak account.You
will need to grant "run executable" rights to this account.

David

unread,
Nov 10, 2009, 8:29:43 AM11/10/09
to
I can't see how that will run an application on the client side.

In the past, I have created a .bat file on the server and linked to it as a
download file. Let them download it and get them to click run instead of
save. Will this be a suitable compromise?

Alternatively, research how some of these trojan horse writers exploit
loopholes in IE, but expect that method to be blocked in the future.
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available


"Raghupathi K" <raghu...@gmail.com> wrote in message
news:bf9213ef-9f2c-4d9c...@y28g2000prd.googlegroups.com...

Mark Rae [MVP]

unread,
Nov 10, 2009, 9:53:20 AM11/10/09
to
"Raghupathi K" <raghu...@gmail.com> wrote in message
news:bf9213ef-9f2c-4d9c...@y28g2000prd.googlegroups.com...

>> I need to be able to start an application on a client machine from a web
>> page.
>


> System.Diagnostics.Process.Start() (6 overloads)
>
> http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx
>
> By default, ASP.NET runs its worker process with a weak account.You
> will need to grant "run executable" rights to this account.

This won't work at all. The OP wants to run a client-side process, not a
server-side process...


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Mark Rae [MVP]

unread,
Nov 10, 2009, 9:54:38 AM11/10/09
to
"David" <david.col...@revilloc.REMOVETHIS.com> wrote in message
news:OjCbkqgY...@TK2MSFTNGP04.phx.gbl...

>> System.Diagnostics.Process.Start() (6 overloads)

> I can't see how that will run an application on the client side.

It won't.


> In the past, I have created a .bat file on the server and linked to it as
> a download file. Let them download it and get them to click run instead of
> save. Will this be a suitable compromise?

That's a far better solution, and neatly side-steps the browser security.

Konstantin Salavatov

unread,
Dec 14, 2009, 4:02:59 AM12/14/09
to
You may achieve this by deploying some small "starter" application by
ClickOnce. It can start anything you want.

Kostya

"Greg55305" <Greg...@discussions.microsoft.com> wrote in message
news:62780B06-80D3-4E14...@microsoft.com...

0 new messages