Re: Web Service with Admin rights

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Manohar Kamath (mkamath_at_TAKETHISOUTkamath.com)
Date: 03/08/05


Date: Tue, 8 Mar 2005 10:43:56 -0600

Sunil,

The so called "ASP.NET Webservices" are run under ASPNET account, which has
very few privileges. One way to get around this is to make the ASP.NET
worker process to run under an admin account. The following article should
help:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetimpersonation.asp

-- 
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Sunil Virmani" <sun_hcl@rediffmail.com> wrote in message
news:e0989ba4.0503080827.5dda3c2c@posting.google.com...
> I want to create a web service that can create the users in the
> Windows Domain. I am using ADSI for that. Using ADSI i am able to
> create the users eaisly.
>
> But when i incorporated the code in the web service i get the
> unauthorized error.
>
> How should i confiure the web service so that it can create the users
> in the windows domain.
>
>
> Rgds,
> Sunil


Relevant Pages

  • Re: Web Service with Admin rights.
    ... "Sunil Virmani" wrote in message ... > I want to create a web service that can create the users in the ... I am using ADSI for that. ... > in the windows domain. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Web Service with Admin rights
    ... granting admin rights to a program that runs under IIS is ... >I want to create a web service that can create the users in the ... I am using ADSI for that. ... >in the windows domain. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Web Service with Admin rights.
    ... I want to create a web service that can create the users in the ... I am using ADSI for that. ... in the windows domain. ... Rgds, ...
    (microsoft.public.dotnet.framework.webservices)
  • Web Service with Admin rights
    ... I want to create a web service that can create the users in the ... I am using ADSI for that. ... in the windows domain. ... Rgds, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Web Service Security problem
    ... The web service project should hav a web.config. ... Allowin that account access to lan resources would be a large security risk. ... > different username that is known to the domain server? ... > Another possible issue is the ASPNET account on the server. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)