Author: mentat | Posted on: 11/2/2008 7:13:59 AM | Views : 411

I am using Forms authentication with the AspNetSqlMembershipProvider.

In my web.config I have
 <authentication mode="Forms">
            <forms name=".ASPXAUTH" loginUrl="~/secure/Login.aspx" defaultUrl="~/user/Home.aspx" timeout="5" slidingExpiration="true" protection="All"  />
 </authentication>

 <location path="Administrator">
    <system.web>
      <authorization>
        <allow roles="Administrator" />
        <deny users="*"/>        
      </authorization>
    </system.web>
  </location> ...

Go to the complete details ...