Read up on
ASP.Net Authorization[
^]
For the pages you only want a logged in user to see, try this -
* Create a new directory in your web project (call it LoggedIn or whatever)
* Add a new web.config file to the directory you just created
* Add the following to the web.config file
<configuration>
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</configuration>
That basically tells ASP.Net that only authenticated (logged in) users can view the content in this directory
* Add a new page to the directory
Test!
* Try and browse to it when not logged in
* Browse to it when logged in
Have a read up on the login controls if you need to create these pages
ASP.Net Login Controls[
^]
If you have SQL and haven't already, create an aspnetdb to handle your login + membership
How to create aspnetdb[
^]