Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
ASP.NET Security, Roles?
Hi,
I just upgraded to mm.net version 1.1.3. Great upgrade. Instant security at no expense for my asp.net applications. Absolutely fantastic. I do however have a problem with the "Roles" aspect of security. I don't know if it is my concept of Roles or is it that the framework's security features and/or documentation for asp.net is uncompleted as of yet. When I log into Security Administration Mode and hit the page I wish to manage all looks well. There is a little lock icon next to the controls I want to secure. I click on the lock icon and get the Control Security Configuration page. The user that I am administering is "Neil". Neil has a role of Administrator_1 associated with it. The secured control only seems to respect the Users assignment but ignores the Roles assignment. I am assuming that Roles in mm.net security is of the same concept as Groups in Windows security. I have noticed that in the developer's guide Window Forms Roles seems to have more coverage on it's use than does the developer's guide coverage of asp.net Roles. Also... How do I secure a hyperlink in a templatecolumn of a datagrid. I don't want to secure the entire datagrid. Just the templatecolumn. And.... I need the ability to secure a web page not just it's controls. RequiresSecurity=true; in OnInit works great but I want the page to be selective to the user's access. IE: I only want Admins to have access to a certain web page.
Thanx,
Neil
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement