Using Windows domain accounts along with database defined roles
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngarchitecture' list.


Bill Bassler
Anyone have some concise sample code that integrates Windows domain accounts
security along with roles/groups contained/defined within a database or
possibly Enterprise Services? (formerly known as COM+ Services)

What I'm looking to do is utilize existing Intranet accounts while applying
a custom user group structure (as developers don't often have the ability to
have the IS department define domain-based groups for our apps to use) .
I've found some examples that demonstrate ... to a degree ... this type of
functionality but they are somewhat complex. I'm really looking for some
simple code that shows the basics/best practices of how to accomplish this.

Reply to this message...
 
    
jimmy.nilsson@jnsk.se (Jimmy Nilsson)
Hi Bill,

I think this article by Juval Lowy has interesting information for you:
http://msdn.microsoft.com/msdnmag/issues/02/05/RoleSec/RoleSec.asp

Best Regards,
Jimmy
###

----- Original Message -----
From: "Bill Bassler" <Click here to reveal e-mail address>
Newsgroups: aspngarchitecture
To: "aspngarchitecture" <Click here to reveal e-mail address>
Sent: Monday, June 24, 2002 6:23 PM
Subject: [aspngarchitecture] Using Windows domain accounts along with
database defined roles

> Anyone have some concise sample code that integrates Windows domain
accounts
[Original message clipped]

Reply to this message...
 
    
Andy Smith
jimmy, that was a great link and a great read. thanks.

bill, if you do create something based on the custom principal method =
described in the article which hooks into the method, would you be will =
to share that code with the rest of us?

__
Andy Smith
Keyboard Jockey #3a7-2.78.1

[Original message clipped]

Reply to this message...
 
    
Bill Bassler
Thanks. I've seen this article too. I took a look at the code. There's a
lot more stuff going on in there in there than I'll need. I have some
"ExtendedPrincipal" code I wrote that uses a database for roles along with
the GenericPrincipal. I will add the "switch" for using the
WindowsPrincipal authentication to. I'm basically lazy so I was hoping that
someone had already done this as it seems like a pretty common requirement.

"Jimmy Nilsson" <Click here to reveal e-mail address> wrote in message
news:674569@aspngarchitecture...
[Original message clipped]

Reply to this message...
 
 
System.Security.Principal.GenericPrincipal
System.Security.Principal.WindowsPrincipal




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com