Active Directory and asp.net....

From: Jim (ssss)
Date: 05/27/03


Date: Tue, 27 May 2003 11:02:44 +0100


I have a web service that is doing user authentication and management,
internally it is using active directory to store the user accounts, this is
accessed through the System.DirectoryServices namespace in C#. I use
imperonsation to modify the user accounts, i.e. I impersonate a 'Domain
Adminstrator' account and modify the user properties as required.

When I test this from a desktop or console application it works perfectly
fine, but when my web service is used from an asp.net application I am
unable to modify user properties. The asp.net application is using forms
authentication which uses this web service to authenticate, what do I have
to modify in the asp.net application to get imperonsation working correctly
for my web service?

Cheers

Jim



Relevant Pages

  • Re: Active Directory and asp.net....
    ... Impersonation works only on Windows authentication, so it has no affect on ... > I have a web service that is doing user authentication and management, ... > Adminstrator' account and modify the user properties as required. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Form Security and WebService
    ... it has to do with the fact that you have a membership store in SQL ... that uses windows authentication). ... call the SharePoint web service to provision the user. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Problem When Calling Web Method Of Web Service From Pocket PC 2003.
    ... > NTLM Authentication is not supported in the CF. ... > Now that I have changed the Web site and Web Service to use Digest ... >> Alex Feinman ... a Desktop application and a Pocket PC 2003 application. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Active Directory authorization
    ... AD should be fine as a source for authentication for your web service. ... The easiest way to use AD for authentication is to just use the transport layer authentication schemes built in to IIS. ... For app level authorization, I'd suggest checking out Microsoft's Authorization Manager framework. ... every applications. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Problem When Calling Web Method Of Web Service From Pocket PC 2003.
    ... > The CF application will be able to support basic authentication only. ... >> When the Web site and Web Service application are set to allow Anonymous ... >> application and a Pocket PC 2003 application. ... >> Private Sub CallHelloWorld() ...
    (microsoft.public.dotnet.framework.compactframework)