.htaccess Login with URL Hex Encryption Javascript::
***NOTICE (2006-01-10): The developer assumes no liability with this resource and it is provided as is. This script is referred to as a "security development" because it can provide some minimal level of security. While it does seem to be an effective elementary form of security the developer does not claim that it is an impenetrable solution and thus the developer does not recommend implementing it for the protection of highly sensitive data.
***NOTICE (2005-02-08): Due to an update of Microsoft Internet Explorer this script may not function properly if at all in said browser. This update has removed support for handling user names and passwords in HTTP and HTTP with Secure Sockets Layer (SSL) or HTTPS URLs which the .htaccess Login with URL Hex Encryption Javascript utilizes. Additional information can be accessed at http://support.microsoft.com/default.aspx?scid=kb;[LN];834489 . As of the date of this notice this problem has only effected Microsoft Internet Explorer versions with these updates. Archreality is currently working on modifications to this script.
What is the .htaccess Login with URL Hex Encryption Javascript:?
The .htaccess Login with URL Hex Encryption Javascript: is an advanced level security script and an embedded .htaccess login box script with URL Hex Encryption to hide the user's password in the address bar from prying eyes. It also has form verification as an added feature. It's source was based on FTP Server Login (by Reinout Verkerk) and htaccess Login (by Gordon Hudson) before it was modified with URL Hex Encryption and Form Verification by Jonathan Feaster. The script's actual password protection rely's on .htaccess password protection and not Javascript therefore you must setup .htaccess password protection to utilize this script.
What is .htaccess and how do I set it up?
Here's a great article by Howard Richman that helps answer these questions.
I've got .htaccess password protection set up. Now how do I utilize the .htaccess Login with URL Hex Encryption Javascript:?
First, to install this script copy and paste the following code into the <head> of your HTML document (There is no need to modify this part of the script and doing so could prevent it from running correctly.):
Second, you'll need to place and modify for your needs the following code into the <body> of your HTML document:
Finally, you'll just need to modify the form field (If you’ve never used forms before you can view a tutorial at http://www.w3schools.com/html/html_forms.asp) input tag named "server" and change it's value to the URL of the .htaccess password protected directory (minus the http://) on your server. Example:
<input type="hidden" name="server" value="www.yourdomain.com/protecteddirectory/" >
And that's all there is to it!
Can I get the complete Source code for .htaccess Login with URL Hex Encryption royalty free and use it?
You got it. All I ask is to give credit where it's due.
Jonathan Feaster
Archreality Design
http://www.archreality.com/
Complete Source code for .htaccess Login with URL Hex Encryption: