The following is the JavaScript code to add a password to your page. You should note that this is not totally secure. You should not keep information such as credit card numbers or other sensitive information on the pages. Fire up Notepad and copy the below code. Save the code as "password.txt". When you upload it to your server make sure to change the filename to "password.js". If you can not change the file name when uploading, you must use a hex editor to save the file as 'password.js'. Click here to go to a site where you can download a hex editor.