Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Web service, forms authentication and DefaultCredentials

Reply
Thread Tools

Web service, forms authentication and DefaultCredentials

 
 
SP
Guest
Posts: n/a
 
      06-27-2007
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best practices for using forms authentication and security in a hosted env (was: Re: Using a Forms authentication in a shared hosting environment) JEFF ASP .Net 1 11-12-2007 07:00 PM
forms authentication -- expired forms cookie vs. not provided forms cookie Eric ASP .Net Security 2 01-27-2006 10:09 PM
Problem with authentication using DefaultCredentials elora_c@yahoo.com ASP .Net Security 5 11-15-2005 02:58 PM
Problem with authentication using DefaultCredentials elora_c@yahoo.com ASP .Net Web Services 5 11-15-2005 02:58 PM
Forms Authentication question: How to have some pages open and some requiring forms authentication Eric ASP .Net 2 02-13-2004 02:14 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57