Re: Starting a process (.exe-file) from ASP.NET with different user credentials
From: Scott Allen (bitmask_at_[nospam)
Date: 09/10/04
- Next message: Scott Allen: "Re: Auto email reply"
- Previous message: Scott Allen: "Re: Deploying ASP.Net not in the default website"
- In reply to: Jørn A.: "Re: Starting a process (.exe-file) from ASP.NET with different user credentials"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Sep 2004 10:56:19 -0400
Hi Jørn A.:
Yes, when a new process spawns it always takes the identity of the
host process and not the identity of the thread you launch from.
The only real way to get this to work in 1.1 is to PInvoke
CreateProcessWithLogonW. If you are trying to launch a GUI application
however, you are going to run into problems since ASPNET runs in a non
interactive desktop.
-- Scott http://www.OdeToCode.com On Fri, 10 Sep 2004 15:23:52 +0200, "Jørn A." <nospamwanted@nospam.com> wrote: >It seems like System.Diagnostics.Process.Start() still runs as the ASPNET >account. > >-Jørn A. > >
- Next message: Scott Allen: "Re: Auto email reply"
- Previous message: Scott Allen: "Re: Deploying ASP.Net not in the default website"
- In reply to: Jørn A.: "Re: Starting a process (.exe-file) from ASP.NET with different user credentials"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|