Does anyone know how to create a secure website? By this I mean that if someone tries to go to one of my pages without logging in first, they will be directed to my login page. I can achieve this by using the following code. My question with this being said, is how do I get the same results if I have say 10 pages on my site?
<!-- enable forms authentication -->
<system.web>
<authentication mode="Forms">
<forms name="Title" loginUrl="login.aspx" />
</authentication>
</system.web>
<!-- set secure page to reject anonymous users -->
<location path="Default.aspx">
<system.web ...
Go to the complete details ...