I have a website that has a secure admin section with its own login page and a public area with another section that allows people to register and login (using a different login / register page). In my web.config file I have this entry
<location path="MemberDetails.aspx">
<system.web>
<authorization>
...
Go to the complete details ...