Re: Multiple App Authentication
- From: "GaryDean" <GaryDean@xxxxxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 12:34:07 -0700
No, these are web app users and they are not part of any domain nor do we
want them to use Windows Authentication. We want to use Forms
authentication - or at least authentication by UID/PWD.
--
Regards,
Gary Blakely
"Andy" <anedza@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1180550795.479265.324920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Suggest you read up on Active Directory and Kerberos security.
Assuming this is on an office windows network, its likely that the
users have active directory windows accounts and that there is a
network domain already setup, where all the various servers that the
apps run on belong to a common domain.
If this is so, you can use windows credentials in your apps to
authenticate users. Credentials are established by the user when they
log onto windows and are maintained in the form of tokens.
If your apps run in IIS, you can set the security for the app's
website to require windows authenticated integration on its advanced
directory security tab from the properties menu entry when you right
click a website. Users will have to provide their windows login ID
and password if they are accessing the site externally before it will
run. Otherwise, if they are already logged into the network domain,
IIS will not prompt for credentials and will instead use the
authorization token given to them to identify them.
You can also have programs perform the login on behalf of the user to
a particular app by something similar to:
App.Credentials = System.Net.CredentialCache.DefaultCredentials
Active Directory only verifies the identity of the user; its still the
responsability of your app to decide what to do with the user once
they are verified to be who they claim to be. Active directory users
are usually assigned to arbitrary active directory groups you create.
Your app can check if an identified user belongs to a particular group
of active directory users to determine what permissions the user has.
The advantage of using active directory opposed to building your own
security system is that security is centralized - you can add or
remove a user to the network, your apps, Microsoft applications, and
the internet in a single place with a single command, all at the same
time. The active directory API is not complex, and requires far less
code to use then building and maintaining a seperate custom security
database.
.
- Follow-Ups:
- Re: Multiple App Authentication
- From: Walter Wang [MSFT]
- Re: Multiple App Authentication
- References:
- Multiple App Authentication
- From: GaryDean
- Re: Multiple App Authentication
- From: Andy
- Multiple App Authentication
- Prev by Date: Re: Multiple App Authentication
- Next by Date: Re: Control Event
- Previous by thread: Re: Multiple App Authentication
- Next by thread: Re: Multiple App Authentication
- Index(es):
Relevant Pages
|