Form Based Security Mechanism
From: ViperDK (noabuse.ViperDK@gmx.net)
Date: 02/13/03
- Next message: Kim Bach Petersen: "Re: Querystring hash?"
- Previous message: sdu: "Re: URGENT: ASP.Net app needs network share access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "ViperDK" <noabuse.ViperDK@gmx.net> Date: Thu, 13 Feb 2003 08:36:17 +0100
I have a WebPage which holds security information in a database.
There are [Users], [Roles] and [Rights] and each user can have multiple
roles which are assigned to multiple rights.
Up to now I check whether a user has enough rights to do something manually
with a UserManagement class. In the code it looks like:
um.HasRight(UserRights.ModeratePageNews)
Thats kind a elaborate and i wonder if i could do that more easily.
I think a good mechanism would offer the ability
- to classify specific pages e.g. only to be viewn with the right "Login"
- to place attributes on functions that that throw a security exception and
take the user to the login page or say him that he doesn't have the right to
do what he tried
- make that decisions in the functions itself for mor complicated actions
like i did it up to now
Is Form Autentication offering me this stuff or can i extend it to do that?
>From what i've read from examples that mechanism only knows Roles and Users
and i don't know if i can make this things with it or if it is even meant to
help me on the kind of security i want to implement.
Thx for advise,
ViperDK
- Next message: Kim Bach Petersen: "Re: Querystring hash?"
- Previous message: sdu: "Re: URGENT: ASP.Net app needs network share access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|