Skip to content

zt512/secure-login-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Login System (Python)

A secure authentication system built in Python demonstrating key cybersecurity principles such as password hashing, input validation, and protection against brute-force attacks.

Features: User registration and login system. Secure password hashing using bcrypt. Password strength validation. Protection against brute-force attacks (account lock after 3 failed attempts). Modular and maintainable code structure.

Security Concepts Shown: Secure password storage (hashing + salting). Authentication best practices. Brute-force attack mitigation. Input validation.

Installation:

pip install -r requirements.txt

Usage:

python main.py

Example: Register a user with a strong password. Attempt login with correct and incorrect credentials. Observe account lock after multiple failed attempts.

Future Imporvements: Replace in-memory storage with SQLite database. Implement multi-factor authentication (MFA). Add password reset functionality.

Author: Zain Talib

About

Secure authentication system in Python using bcrypt, demonstrating password hashing and brute-force protection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages