Re: Is it possible to authenticate a user against an untrusted dom
- From: DaveMo <david.mowers@xxxxxxxxx>
- Date: Tue, 11 Aug 2009 07:43:17 -0700 (PDT)
On Aug 11, 5:34 am, Raj Sidhu <RajSi...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Interesting, thanks for tha code.
I get the same error as you however, reading around it seems you may need a
certificate?
Anyway I don't have this option, so the original question still stands.
Using SSPI or otherwise, does anyone know if it's possible to authenticate a
user against an untrusted domain.
Creating a trust relationship is out of the question, as is creating a
certificate if it means modifying the original domain in any way (including
administration of any kind).
To validate the U/P you can perform an LDAP bind. To get the domain
groups for the user (which is the only that makes context sense
anyway) you can do an LDAP query for the user and retrieve tokenGroups
attribute.
SSPI will also work but you'd have to put code on the untrusted
domain. That may or may not be possible. Ping me offline and I can
give send you working code if that would help.
Another thing to look at is Federating your application. Microsoft
will soon be releasing a new version of Active Directory Federation
Services (ADFS). ADFS is specifically designed to solve the whole "I
want to authenticate but I don't want a Windows trust" problem. The
functionality of ADFS is similiar to what you would get if you went
the LDAP or SSPI route, but many things are done for you and there is
MUCH better control over credential usage. For example if I was a
Security Architect where you are working on your project I would tell
you that you are not allowed to prompt a user for domain credentials.
Doing so violates a fair number of reasonable security policies. With
ADFS the authentication will be routed to a trusted server (the ADFS
box) in the infrastructure and then the appropriate token information
is provided to the server.
HTH,
Dave
.
- References:
- Is it possible to authenticate a user against an untrusted domain?
- From: Raj Sidhu
- RE: Is it possible to authenticate a user against an untrusted domain?
- From: Raj Sidhu
- Re: Is it possible to authenticate a user against an untrusted domain?
- From: Brian Green
- Re: Is it possible to authenticate a user against an untrusted dom
- From: Raj Sidhu
- Is it possible to authenticate a user against an untrusted domain?
- Prev by Date: Re: Is it possible to authenticate a user against an untrusted dom
- Next by Date: CREDUI API - Cached credentials don't survive a reboot
- Previous by thread: Re: Is it possible to authenticate a user against an untrusted dom
- Next by thread: SetSecurityInfo and ERROR_NO_SECURITY_ON_OBJECT (Events and Mutants)
- Index(es):
Relevant Pages
|