Validating user role's page level access
<p>My question is almost similar to this 
<a href="http://stackoverflow.com/questions/2804572/asp-net-roles-page-level-security-question">ASP.Net Roles: Page-Level Security Question</a>
except for the fact that I'm not using asp.net membership, What I have done is I have created roles and assigned pages to roles, menus are also populating according to the user's role. I want to restrict user to access pages by simply typing the <code>PageName.aspx</code> , One solution might be checking on every page load, but I don't think it's efficient. I have googled but only found solutions for adding <code>&lt;location path="Logon.aspx"&gt;</code> to restrict, I have to add this for every page in <code>web.config</code>, which defeats the whole purpose of keeping this thing dynamic, I am <strong>using Form Authentication</strong>, Some are suggesting creating a <strong>Base Class</strong> and derive other pages from that class, I think there may be some <code>global.asax</code> way to acheive this, but have no idea. Please suggest me best approach to achieve this !</p>

<p>P.S : I am <strong>not using ASP.NET Membership</strong>   </p>
