Introduction
Javascript User Login provides a way for internet users to login
to a secure page. This is achieved by sending a user to a filename
based upon their username and password which then relays the URL
address of the secure back to the original page.
A folder on your website will essentially act as if it were a database
of username's and password's. Once the user has logged in successfully
a encrypted cookie is set that only allows that user to view "secured
pages" for a specified amount of minutes. Encrypting the cookie
eliminates or makes user tampering of cookies extremely hard and
unlikely (editing of cookies is currently possible through the Web
Developer Add-on for Firefox and other tools. Also some browsers
can change the amount of time a cookie lasts based off of user settings.)
Traditionally webmasters have had trouble installing this Javascript.
A Zip file with a full directory structure is available by clicking
on "Download Project" below
Webmasters looking for the Javascript User Login version 3.0 should
consult this files archives by clicking on "
Previous Version" below. Archives are provided throught
a Zip file that contains all versions of this script (except this
version).
Demonstration
Code: Login Script
The login script may be placed on any publicly accessible webpage
such as your homepage.
|