Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP.NET Security, Roles?
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00875536
Message ID:
00875745
Vues:
23
Neil,

>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.

Any assignment you specify at the user level overrides the setting at the Role level...this is by design. This allows you to specify security at the role level, and specify exceptions to the role security at the user level.

>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.

I'll check with Rick on these.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform