CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2010
    Posts
    20

    Design pattern for permmisions

    Hi,
    I have a question that already posted here.
    I want to build a project (web site) that have a few kind of users.
    Administrator - that can do every thing in the site
    Registered user - that can do every thing in his page.
    UnRegistered User - that can only watch the web.

    My question is what is the design pattern or that I should use?? and can I do it?
    need answer as fast as possible.
    Thank you.

  2. #2
    Join Date
    Mar 2011
    Location
    London
    Posts
    54

    Re: Design pattern for permmisions

    Hello,

    One starting point is to have 'Groups' and make your users members of those groups. Assign the permissions to the groups and infer user permission from their group membership.

    You could also look at asp.net roles but I've not got any experience here and so can't advise.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured