How to implement User base security not role base in asp.net?

Posted by Gaurav on Stack Overflow See other posts from Stack Overflow or by Gaurav
Published on 2010-04-26T14:52:47Z Indexed on 2010/04/28 11:13 UTC
Read the original article Hit count: 227

Filed under:
|
|

Hi,

I have to implement User base security in my Web project using .Net3.5. Followings are some we need:

  1. Roles can be Admin, Manage, Editor, Member etc
  2. User can have multiple roles
  3. Every roles has its own dynamic menus and restrictions/resources
  4. All menus and interface will populate dynamically from Database

I heard some where this kind of i.e user base security can be implemented using HashTable but I dont know how is it?

Today I came to know that for this kind of work Java people use Interceptor Design patterns. So, how could I do the same in asp.net C#?

© Stack Overflow or respective owner

Related posts about security

Related posts about ASP.NET