Make a password script, that logs you in and stores it into a session, and then on each page, use a define('REQUIRELOGIN',true) (or false) and then in the password script if its true, do the check, and if its not right, die, and display login.
Simple.