role based security

From: Hazim Dikenli (hazimdikenli@yahoo.com)
Date: 07/23/02


From: "Hazim Dikenli" <hazimdikenli@yahoo.com>
Date: Tue, 23 Jul 2002 11:04:46 -0400


Hi all,
I am using Forms Authentication, and after a user logs in, I load the roles
base on their account. Basically, I am trying to achieve a role-based
security, the samples given do the authorization check on Page_Load event,
but I would rather specify the page level roles in the web.config file and
let the ASP.NET do the authorization for us. I tried to do this and could
not get it working, so I wonder if roles only apply for Windows
Authentication, if not, do you have any idea, any sample, any piece of code
to help me thru.
Thanks for reading my post, and I will be so darn happy if you reply me
back.

Peace:)
Hazim

I specify page-level role acces in the web.config file,