Comments on: How to Password-Protect a Web Page

6 Comments From eHow Members

Return to article: How to Password-Protect a Web Page

denmark

denmark said

Flag This Comment

on 3/11/2008 what happened to this article? parts are missing.

Flag This Comment

on 12/11/2006 Tried this on my website.

It DOES NOT work !!!!

Not sure why ...but when you type in any word instead of the password, the protected webpage still opens !!

Anonymous

Anonymous said

Flag This Comment

on 8/8/2006 Instead of using the code: var password = prompt("Enter in the password"""); it should really be: var password = prompt("Enter in the password","");
Please note the comma after the first double quote after "enter password" ... without this comma, the script does not run.

Anonymous

Anonymous said

Flag This Comment

on 8/3/2006 1. Encrypt page text using password (by javascript), and decrypt it using password provided by visor. Content will be good only when password is correct. Drawback: user with javascript disabled will not be able to see your content.

2. Protect the page on server. I'm using one password protection tool which does it very good. It requires a password only once if you protect fewer pages with same the same password.

Anonymous

Anonymous said

Flag This Comment

on 3/8/2006 To find out the passwrd : View the source of the document (Right-click on the link > Copy Link Location // Then, in your browser's address bar, type view-source: and press Ctrl+V, then Enter) > Ctrl+F > if(pasword=" > Enter >
You got it.

Anonymous

Anonymous said

Flag This Comment

on 2/6/2006 A user with medium knowledge can easily defeat this password protection by deactivating Java script and reading the page's source, where the password is stored.
Unfortunately, if you want some degree of security, you have to resort to more complex things, like ASP pages or installing the Apache web server, and enable its authentication section.

Return to article: How to Password-Protect a Web Page

Related Ads