PHP Based Simple Login Class
I was Bit busy with updating my Project BloggerPoster to its next version
Indeed the whole script was created to run on a free server i.e without Databases so everything will be store and handled using CSV and TXT files
But when i came to the login management i thought that it must be Bit Secure and must use a Technique thats unbreakable even though the password can be viewed easily.
At last after a brain striving think i finished that in PHP using a Encryption technique namely Base64 with two hashing techniques Namely MD5 and SHA1
Here is the final User name and Password(encrypted, can be read only by the interpreter) would look like
Bit its unbreakable…
This Simple Login System based on PHP can be used to prevent web pages from unauthorized access and thereby reducing the time needed for a simple user management system in terms of cost and time and also eliminating the need for Databases or Queries for the User Management
FEATURES
* Proven Security system and Unbreakable!
* It’s Light in Weight
* No DB needed for the User Login System
* Uses an access encoding technique(base64) and two hashing techniques(SHA1 & MD5) to store your password more securely!
* Can be used any where just by embedding a snippet at the top of a webpage to be protected
* Can be used to store any number of User Logins
* Can handle sessions for safety
* Separate access files for registration, Login and Logout with a Neat CSS Design Driven
* Very Simple User Registration!
* Handy and can be used for any purposes
* No Configuration is needed to use this Class & Highly reliable!
After Finishing this i would like to add some nice design as In WP for User Login and Registration. So, finally i digged into the CSS ground and atlast Designed that too
Here are the Two Screens of it
I hope you love that too and you might need to like that to have now
Also the Documentation and license(no Worries its Free) and crunched withe Zip File attached
Download – Simple PHP Login Class
Demo – Simple Login Class
Read This At
FreshMeat – Simple Login Class
PHPClasses – Simple Login Class
Any doubts and feature request?? Drop a comment below!
















#1 by Senthil on July 5, 2010 - 10:28 AM
Give me demo for this class…….. that is best……
#2 by Balaji J H on July 6, 2010 - 3:20 PM
I have just added here
http://jhbalaji.com/code/php-based-simple-login-class/
Thanks
#3 by Zaf on July 8, 2010 - 4:48 PM
Hey, I checked your code and my feedback is that you don’t need to encode with base64 several times or do the md5 hash.
Just doing a direct sha is enough.
Cheers!.
#4 by Balaji J H on July 11, 2010 - 4:14 PM
Yeah!
But if people use simple guessable word and if hacker have a list of database to compare that hashed string with that then it’s so easy!
To avoid that and make the password cracking hard i did this