Original Coding Article #: 20
This script is very powerful and is used by over a thousand people and still counting.
I just updated it to use MD5 protection to secure it even more. (Look at the coding history below)
This script will allow you to set up a login page for your site.
This script, however, does not come with the registration form.
The code is a Classic ASP login script with SQL Server backend for your website using MD5 hashing for password security.
[History of the Login Script
- Login to: Carrzkiss's Demo Cookie Logger
Made better than ever.
Using Parameters to help stop SQL Injections.
Updated on: 3:33 am EST September 15th, 2009
- Updated on: 5:48 pm EST May 21st, 2010
Added in Full Database connection, this will allow you to stop potential
People from downloading your database.
- Update on: 6:12am EST June 22, 2011
Added in an md5 hash for password logins; this helps in keeping your
User's information stays safe and secure behind a wall.
With the September 15th, 2009, SQL and XSS Injection prevention, this code is a very HIGH priority for any ASP Classic Developer.
- Updated on: 11:30 PM EST May 8, 2022
SQL Server backend connection for new website design and examples.
We are now challenging the password field along with the username.
This challenge makes it more secure, ensuring that the username and password both match; if not, you do not get in.
The SQL Script to create a Table and the record is included in the [Live View] below.
The Live View below will give you access to all the code.
Please pay close attention to the ASP Tab, as you will have to separate all the codes and put them on their proper page.asp files. They are labeled, so do not get nervous; all codes are tested to ensure they work before going live on our site.