Lately a few users asked how to make a login for their applications.
This example shows how to make a login where the login information is stored in a database.
I'm using an Access Database (for simplicity), but it can be done just as easily with any other database type.
The password is stored hashed using MD5 (128 Bit) in the database, so you don't need to be afraid that someone will just open the database and read the passwords.
As most people know, hashing is a one-way encryption, so the hash cannot be brought back to the original password, that's why it is safe to store the passwords this way.
You can go further than that, and set a password to the database itself, but as many know, that is easily breakable using tools off the internet. That's why I did not bother adding a password to the database for this example.


Reply With Quote
).

