|
-
December 5th, 2008, 04:22 PM
#1
[RESOLVED] Remote Authentication
I'm thinking about designing a client server system where user credentials are use to control access to information on the server. I would like to use windows security to do this. I would like the client to pass the user token to the server where it would verify the users membership using groups.
How would I pass the user token from a client process on one computer to the server process on another? Is there a way this could happen in the background of the (Windows) OSes? I am not using IIS or SAP.
Thoughts on where to start?
Solutions that use "IsInRole" a bonus!
-
December 5th, 2008, 04:57 PM
#2
Re: Remote Authentication
NTLM authentication (the default for Windows) will NOT survive multi-le hops.
If you want a goos solution, use Kerberos [plenty of information avaailable on MSDN]
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 5th, 2008, 04:59 PM
#3
Re: Remote Authentication
Using IIS with WCF services allows you to do this fairly easily, as the network credentials are an integral part of the request. Is there a reason not to use IIS?
You could create your own socket server, but this gets into a lot of issues with security and firewall restrictions, as well as having to reinvent the wheel.
Again, WCF is included in the .NET framework specifically to address this business need.
-
December 5th, 2008, 05:43 PM
#4
Re: Remote Authentication
 Originally Posted by MikeVallotton
Using IIS with WCF services allows you to do this fairly easily, as the network credentials are an integral part of the request. Is there a reason not to use IIS?
You could create your own socket server, but this gets into a lot of issues with security and firewall restrictions, as well as having to reinvent the wheel.
Again, WCF is included in the .NET framework specifically to address this business need.
Is there a specific place you would suggest looking in WCF. I could use the web server component of .net? I don't want to install IIS.
If I were to change the assumption and have the client be trusted to provide a authentic user id is there a way to check thats users membership in a group?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|