HTML Password Protection.
. Here is how I got it to work. Take the code and replace the password (peppermint) and the web page address (scripttip73correct.html) with your own names. Then put the code into the file that's publicly linked. Clicking on the link will take people to the script code file, and if they get the password right it passes them on to the file you're protecting. This protection method is not very strong, since the password is written in the file, but it is pretty easy at least.