If you just need to Password Protect a single page or a series of pages and you don't need multiple users this simple code can be pasted at the top of the page or pages.
You can change the password right in the code. It is set to "sample" right now.
All you need to do is make sure the form in the code posts to itself.
For example: If the page you paste this code into is called "guestbook.asp"
You would change the action of the form to "guestbook.asp".
This example stores the password access as a session variable. Once you give it the correct password it will give you access to the page as long as your session is still alive. If you want to start a new session simply close all of your browser windows and then open your browser again and come back to the page.