Re: domain - user validation
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 12 Mar 2007 11:59:20 +0000 (UTC)
How do you authenticate the user?
If you are using IIS integrated authentication - IIS will do the authentication and you will see the username on Context.User.Identity.Name.
This name will have two parts domain\username.
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
How do I validate that a user belongs to a particular domain,
programmatically? For example, I have a user (user1) who claims to
belong to
a particular domain (domain1). How do I confirm whether user1 belongs
to
domain1, in my web application?
Any help is appreciated.
Thanks.
.
- Prev by Date: Re: Windows and Basic Authentication and Delegation.
- Next by Date: RE: Cant write to a file
- Previous by thread: RE: Different password policies for different roles
- Next by thread: RE: Cant write to a file
- Index(es):