NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Browse a Listing

Subscribe to this category

Top > JavaScript > Tips and Tutorials > User Authentication

Popular Tags

Free Script links
Sort By :
There are a few scripts out there that are written for just this purpose, but most seem to have some type of drawback. Many will only protect one page at a time?the password for the page becomes the page's URL, and if you get it wrong, you get a "Page Not Found" error. You would have to give out a number of passwords if you wanted people to be able to navigate your site with such a system. Some scripts only protect at the home page and nowhere else, so if someone happens to surf to a subpage via a search engine, the protection has been completely bypassed. When a friend of mine asked me if there were some way of password protecting her club's Web site, I came up with a way that was a little more user-friendly and not quite so simple to defeat for the average amateur. Once you set up the "front door," adding password protection is as easy as pasting in a couple lines of code into the files you want to protect (see working demo?password is "swordfish").
Category:

Write a Review   Add Favorite   Refer it to Friend   Report Broken Link  
Date Added: Oct 12, 2006 Hits: 7 Rating: 0.00 Votes: 0

Member Reviews Visitor Ratings Google PR

Category Jump :