Managing user rights

Discussion in 'ASP .Net Security' started by Angel Romero, Sep 25, 2006.

  1. Angel Romero

    Angel Romero Guest

    Hi everybody

    Does anybody have examples (source code or links) of best practices for
    managing user rights, roles, etc using SQL Server?

    Thanks in advance
     
    Angel Romero, Sep 25, 2006
    #1
    1. Advertising

  2. Angel Romero

    offwhite Guest

    I created some controls to manage the users and roles as a part of the
    Membership and Role providers in ASP.NET 2.0.

    http://brennan.offwhite.net/blog/2006/09/15/free-controls-for-user-and-roles-management/

    But for best practices, that all depends on your situation. The users
    and roles model built into ASP.NET 2.0 allows you to assign users to
    roles which is very basic yet very powerful. The overriding best
    practice here is to keep it simple.

    An interesting thing you can do with the the CreateUserWizard control,
    is to handle the CreatedUser event to immediately add them to a role.
    If this is for a commerce site and you have a page which allows users
    to create user accounts, it would make sense to immediately add them to
    the Customers role. That is a useful way to mark all users created
    while they were customers.

    Brennan Stehling
    http://brennan.offwhite.net/blog/

    Angel Romero wrote:
    > Hi everybody
    >
    > Does anybody have examples (source code or links) of best practices for
    > managing user rights, roles, etc using SQL Server?
    >
    > Thanks in advance
     
    offwhite, Sep 25, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert Wehofer

    Retrieve SQL Server 2000 rights for a user

    Robert Wehofer, Nov 12, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    318
    Robert Wehofer
    Nov 12, 2003
  2. simo sentissi
    Replies:
    1
    Views:
    354
    Bernie Yaeger
    Mar 5, 2004
  3. Sheryl Landon

    question about setting aspnet user rights

    Sheryl Landon, Aug 14, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    383
    Sheryl Landon
    Aug 14, 2004
  4. Quentin Huo
    Replies:
    12
    Views:
    2,338
    Quentin Huo
    Nov 19, 2004
  5. RJN
    Replies:
    4
    Views:
    2,658
    Patrick Olurotimi Ige
    Apr 7, 2005
Loading...

Share This Page