Re: user Authentication through webservice
From: Manohar Kamath (mkamath_at_TAKETHISOUTkamath.com)
Date: 03/10/05
- Next message: Mike: "FTP client help"
- Previous message: Scott M.: "Re: web services and databases"
- In reply to: Buddy Ackerman: "user Authentication through webservice"
- Next in thread: William Stacey [MVP]: "Re: user Authentication through webservice"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 9 Mar 2005 20:47:32 -0600
You could just use integrated security for the web service, and pass the
default credentials from the client to the web service.
proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
where proxy is the proxy object to the web service.
-- Manohar Kamath Editor, .netWire www.dotnetwire.com "Buddy Ackerman" <buddy_nospam@buddyackerman.com> wrote in message news:O7s4cJNJFHA.3420@tk2msftngp13.phx.gbl... > I have a webservice based app that a company has purchased to use > internally. They want the authentication to integrate with their Active > Directory. Is there anyway that the client portion of the application > (which is a .NET WinForms app) can send some information about the logged in > user so that I could athenticate that user before accessing the database? > The database will not have individual user accounts but will authenticate > using a table in the database. The reason that I need this is so that the > company can push out the client app to it's users using Zenworks. So, the > install must get the user data from the Active directory. Therefore I need > to be able to use whatever information he can get from the AD and use it get > the same info from the AD from the webserver code. One thing I was thinking > of using was the AD object ID (a guid) but I don't know how I would pass > that value to the DirectorySearcher's filter property and I don't know if > that's a property that the ZenWorks install can grab anyway. > > So, to sum up the client app polls a webservice to get some data, I need to > be able to get some user information (gleaned from the AD) from the client > and authenticate the user, then connect to the database and retrieve teh > requested data. > > Any ideas? > > > Thanks. > >
- Next message: Mike: "FTP client help"
- Previous message: Scott M.: "Re: web services and databases"
- In reply to: Buddy Ackerman: "user Authentication through webservice"
- Next in thread: William Stacey [MVP]: "Re: user Authentication through webservice"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading