-
Step 1
Open the unprotected page in a basic text editor. Place the cursor where the link will appear.
-
Step 2
Type the following, substituting your own text or graphic: Click here to access the password protected page.
-
Step 3
Upload your file to the correct place in the file directory.
-
Step 1
Open a basic text editing program. Begin by typing the opening tags:
-
Step 2
Type the title of your page and close the title with a tag:
Protected Page: Please enter password -
Step 3
Type the following:
-
Step 10
Close the scripted section of the page by typing the follow: .
-
Step 11
Add a body section for browsers that do not read JavaScript:
This page is designed for viewing with Firefox. Please upgrade your browser and return soon! -
Step 12
Close the Web page by typing: Save the page (for this example, save it as "password.html").
-
Step 1
Open a basic text editing program. Begin by typing the opening tags:
-
Step 2
Title the page "Error" or "Wrong Password":
Sorry ' Wrong Password! -
Step 3
Type the error message the viewer will see, such as:
I'm sorry, the password you typed is incorrect.
-
Step 4
Give the user an opportunity to re-enter the password: Please click here to try again. This allows the user the opportunity to return to the password script.
-
Step 5
Allow the user to back out:
Otherwise, click here to return to the main page. ("here.html" indicates the name of the page that links to the protected page)
-
Step 6
Close the page by typing the closing tags:
-
Step 1
Open a Web browser. Select Open from the File menu, locate the page that links to the password-protected page, and click Open to view it.
-
Step 2
Click on the link to the password-protected page.
-
Step 3
You will be prompted for the password. Make sure you enter it correctly; passwords are case-sensitive.
-
Step 4
Gauge the results. If it does not work, go back and double-check that you entered the script correctly.
-
Step 1
Visit pages that offer free JavaScripts and do a search for "password". Many of these scripts are just cut and paste, with minimal changes.
-
Step 2
Protect extremely sensitive information by hiring a Web developer (or your ISP) to create a customized password script for you. These scripts are extremely sensitive and very difficult for hackers.
-
Step 3
Contact your Internet Service Provider and ask if they provide password protection services. This entails setting aside a portion of the server for your pages, so some ISPs may charge extra.
-
Step 4
If you use a free script, add a courtesy button or reference to the provider on your page.
-
Step 5
You may need to get permission before using JavaScripts from another Web site. When in doubt, ask!
-
Step 6
Not all browsers support scripts. Be sure to follow directions for providing alternates to scripts on your Web page.










Comments
bokken134 said
on 3/23/2009 Large parts of this article seems to be missing in my browser.
suire said
on 12/5/2008 Guys try nosle. It works for me at http://grandtrunkexpress.com
http://www.nosle.com/loc/gth/sso/ssoview.jsp
Takumi86 said
on 11/22/2008 Mind to giving the original resources??
denmark said
on 3/11/2008 what happened to this article? parts are missing.
SpainHighlander said
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 !!