Here is my "total secure login" script. Description of the contents:
login.htm: First page. It asks login and password, combines it (Login+Password) and sends it to the next page
auth.htm: checks for the existence of a Login+Password.js if yes (authorized user), it reads the private url and opens it, if not, it goes back to the first page, wich shows an error message
CodingForums.js: a Login+Password.js sample. You can have as many users as you want; one .js for every one (i.e. Login: Neo, Pwd: Matrix =NeoMatrix.js). Blocking an user access is as easy as deleting his .js file
page.htm:a sample destination page
PasswordHelper.vbs: a nice script that creates the js files
Of course, server side programming is much better if you have sensitive data to protect
Download:
http://www.mediafire.com/?p0ceqkpnhu4ds99