Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Managing user rights

Reply
Thread Tools

Managing user rights

 
 
Angel Romero
Guest
Posts: n/a
 
      09-25-2006
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


 
Reply With Quote
 
 
 
 
offwhite
Guest
Posts: n/a
 
      09-25-2006
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/200...es-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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User rights =?Utf-8?B?QWRhbQ==?= Wireless Networking 0 08-04-2005 06:32 PM
question about setting aspnet user rights Sheryl Landon ASP .Net 1 08-14-2004 12:38 AM
smtp email do not work with normal user rights > simo sentissi ASP .Net 1 03-05-2004 08:01 PM
Retrieve SQL Server 2000 rights for a user Robert Wehofer ASP .Net 0 11-12-2003 03:29 PM
How to check user rights? Bay MCSE 5 10-14-2003 06:05 PM



Advertisments