Re: SqlRoleProvider & windows authentication
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 9 Jul 2008 12:21:13 -0500
I think the key benefit with AzMan is the programming model. You are
encouraged to make all of your authorization decisions on the most granular
element, operations, and then roll those up into tasks and roles with then
map to security principals. By programming to operations, you can avoid
overlap in functionality and the admins of the system can change which roles
get which operations without affecting your code. If done carefully, this
can be a huge win from a maintenance perspective since you have at least one
layer of abstraction between the code doing the authorization and the way
the model is presented to the admins.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"SpaceMarine" <spacemarine@xxxxxxxxxxxxxx> wrote in message
news:1d190da4-85d7-471e-a443-6df5c72a8dfa@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jul 5, 4:42 pm, SpaceMarine <spacemar...@xxxxxxxxxxxxxx> wrote:
can anyone confirm whether or not a the SqlRoleProvider can be used
for a web app thats using Windows Authentication?
it can. i implemented this via the SqlRoleProvider, using a SQL Server
2005 instance. it works, but when using Windows Authentication you do
not get to use VS.NET's built-in user manager UI. for more:
http://weblogs.asp.net/scottgu/pages/Recipe_3A00_-Implementing-Role_2D00_Based-Security-with-ASP.NET-2.0-using-Windows-Authentication-and-SQL-Server.aspx
using your own DB:
http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx
....so now I have both the SqlRoleProvider and
AuthorizationStoreRoleProvider (AzMan) working... dont know which is
best, yet. Azman has a slight advantage in that its very compact and
one can use its MMC snap-in UI; plus it has more granular sub-role
support for tasks & operations. but the SqlRoleProvider is nice in
that I can easily add its db instance to our data-recovery plan.
decisions..
sm
.
- References:
- SqlRoleProvider & windows authentication
- From: SpaceMarine
- Re: SqlRoleProvider & windows authentication
- From: SpaceMarine
- SqlRoleProvider & windows authentication
- Prev by Date: Re: Downloading web page from secure ASP web site.
- Next by Date: Re: Incorrect LogonUserIdentity.Name
- Previous by thread: Re: SqlRoleProvider & windows authentication
- Next by thread: querying AD users
- Index(es):
Relevant Pages
|
|