DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 27 Jun 2007 15:46:53 +0100,    posted on: microsoft.public.dotnet.framework.aspnet.security        back       

Thread Index
  1    SP


Web service, forms authentication and DefaultCredentials   
Hello All,

I have a webservice application (ASP.NET 2.0) and a .NET client executable 
which consumes the web services. The current model has username / password 
collected by the client application and passed to the webservice. What I am 
required to do is to make this application use active directory to 
authenticate the users and possibly implement a single sign on.

I can easily extend the existing model where I collect the username / 
password pass it to the server construct a NetworkCredentials object on the 
server and authenticate it against the active directory, what I've been 
asked to do is as follows :

Collect the current user's credentials 
(CredentialCache.DefaultNetworkCredentials) from the machine where the 
client executable is running, and (somehow) pass this credentials object to 
the server and on the server authenticate this object against the active 
directory. My questions are 1) Whether this is possible and 2) If this is 
possible, is this the correct approach? I have found lots of articles which 
suggest using integrated windows authentication on IIS, however I am being 
forced to not use it.

Can anyone please help me? guide me to any 'howto' article or something like 
that.

TIA,

SP
Date:Wed, 27 Jun 2007 15:46:53 +0100   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us