Home All Groups Group Topic Archive Search About

impersonation problem of a process run from http handler

Author
2 Nov 2005 10:34 AM
ShaiH
The problem is as follows:

I have an HTTP ASP.NET handler that is running with a defined domain user
identity (using <identity impersonate="true" userName="" password=""/> in the
according web.config file). I have checked that the handler is running in
this user identity using Environment.UserName printing.

This handler is running a command line application by creating a new process
that is running this application. We had some security issues with this
application, so I have created a simple command line executable that prints
the application identity, and what I found was that the identity of this
child process is not similar to the parent process identity but it was
running with the "Network Service" user identity.

Can I in some way create the new process with the same identity of the
calling process in such a configuration? Is this a .Net framework bug?

Thanks for your help,
Shai

AddThis Social Bookmark Button