using impersonation

From: Ohad Young (ohadyn_at_bgu.ac.il)
Date: 07/20/05


Date: Wed, 20 Jul 2005 18:03:59 +0200

Hi,

I wanted to use impersonation in an asp.net web service application.
The following line was added to the web.config:
<identity impersonate="true" userName="user" password="12345"/>

If the user is not added to the administrators group of the computer it
won't work. \
Is there a better solution beside adding the user to the administrators
group?

Thanks,

-- 
Ohad Young
Medical Informatics Research Center
Ben Gurion University of the Negev
Department of Information Systems Engineering
Office:     +972+8+6477160
Fax:        +972+8+6477161
Cellular:   +972+54+4518301
E-Mail:     ohadyn@bgu.ac.il


Relevant Pages

  • Re: using impersonation
    ... I wanted to use impersonation in an asp.net web service application. ... If the user is not added to the administrators group of the computer it ... Microsoft MVP ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Event Log Write Access error.
    ... If that user is a member of Administrators group, then the web service can write into Event Log. ... If using SIDs in the registry is the only way, how can I get the SID for that particular user to enter into the registry? ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Identity crisis on a WS
    ... I checked with "System.Security.Principal.WindowsIdentity.GetCurrent.Name" and in fact I do have the DOMAIN\USER combination that I expected (a user that is a memeber of the administrators group). ... > If it is not the administrator account you planed, you may try impersonate ... > in the web service. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Accessing registry fro ASP.NET web app
    ... the Administrators group on the web server - the registry update worked fine. ... we rely on impersonation by IIS to grant the necessary privilege. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Application Pool Identity
    ... I try to run my web service under an Application Pool with a specific ... access to the web service directory. ... I tried to give every single local security privilege to my ... Administrators group) but do not know what it is. ...
    (microsoft.public.inetserver.iis.security)