I have locked a set of administration pages on a website using the PrincipalPermission syntax ie:
<PrincipalPermission(SecurityAction.Demand, Role:=RoleBLL.ROLE_NAME_ADMINISTRATOR)>
<PrincipalPermission(SecurityAction.Demand, Role:=RoleBLL.ROLE_NAME_ICON_REP_EDITOR)>
Partial Class admin__ASPNET_RepEditor
Inherits System.Web.UI.Page
<PrincipalPermission(SecurityAction.Demand, Role:=RoleBLL.ROLE_ ...
Go to the complete details ...