Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Help - How to create new roles and assign users to each role

Reply
Thread Tools

Help - How to create new roles and assign users to each role

 
 
Jena
Guest
Posts: n/a
 
      11-03-2004
Hi everybody,
I've seen many examples of web.config file where I can give permission to
users or roles, for example:

<authorization>
<deny users="?" />
<allow users="*" />
<allow roles="admin"/>
</authorization>

I want to use "form autentication" but I don't know how to create a role and
how assign a user to one or more roles.

Can anybody help me?

Thanks a lot

Bye, Jena



 
Reply With Quote
 
 
 
 
SuslovN
Guest
Posts: n/a
 
      11-03-2004
There is a good article about using roles authentication in ASp.net at
http://aspnet.4guysfromrolla.com/articles/082703-1.aspx

Nikolay

"Jena" wrote:

> Hi everybody,
> I've seen many examples of web.config file where I can give permission to
> users or roles, for example:
>
> <authorization>
> <deny users="?" />
> <allow users="*" />
> <allow roles="admin"/>
> </authorization>
>
> I want to use "form autentication" but I don't know how to create a role and
> how assign a user to one or more roles.
>
> Can anybody help me?
>
> Thanks a lot
>
> Bye, Jena
>


 
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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
AzMan Role Based Security vs. ASP.NET Role Based Security Kursat ASP .Net Security 1 05-07-2007 01:33 PM
RoleManager, Role Provider and Caching of Roles. J ASP .Net 0 05-01-2007 05:08 PM
Role-Based Security: ACLs and Role Hierarchies Liet Kynes ASP .Net 0 11-26-2003 08:08 AM
Role-based security: Access the role of current user Jesper Stocholm ASP .Net 2 08-23-2003 06:59 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57