This password protection script requires no database or a password file. The password will be the name of the page you're protecting. It's simple and cannot be cracked, unless someone has a way of knowing the name of that particular page. If user did not arrive at the password protected page from this page, he will be automatically taken back here. I intend to add a middle page that will automatically refresh to the page you want. This will add a higher level of security. Basically, the present page you're on will require a password. If the user enters the correct password, he will be taken to the middle page. That middle page then refreshes to the final page. That way, the user does not see the middle page, and the final page of course, will have a different name.