A simple and secure login system built using Python Flask, HTML, CSS, and JavaScript. This project demonstrates secure authentication concepts such as password hashing and brute-force attack prevention without using a database.
This project is designed to demonstrate how a secure login system works. It protects against brute-force attacks by limiting failed login attempts and locking the account after multiple incorrect password attempts.
- 🔑 Secure Login Page
- 🔒 Password Hashing using Werkzeug
- 🚫 Maximum 5 Login Attempts
- 🛡️ Account Lock After 5 Failed Attempts
- 📢 JavaScript Alert Messages
- 🎨 Responsive User Interface
- ⚡ Flask Backend
- 💾 No Database Required
- Python
- Flask
- Werkzeug
- HTML5
- CSS3
- JavaScript
Secure-Login-System/
│
├── app.py
├── requirements.txt
├── README.md
│
├── templates/
│ └── login.html
|── Screenshorts
|
└── static/
└── style.css
git clone https://github.com/jpaul73/Secure-Login-System.gitcd Secure-Login-Systempip install -r requirements.txtpython app.pyhttp://127.0.0.1:5000
| Username | Password |
|---|---|
| admin | admin123 |
- Password stored using hashing.
- Password verification using
check_password_hash(). - Maximum of 5 failed login attempts.
- Account is locked after five incorrect attempts.
- Success and failure messages shown using alerts.
- Prevents basic brute-force attacks.
Add screenshots of your login page here.
Example:
- Login Page
- Successful Login Alert
- Failed Login Alert
- Account Locked Alert
- Add SQLite Database
- User Registration
- Password Reset
- Session Management
- Login Activity Logs
- CAPTCHA Verification
- Email Verification
- Two-Factor Authentication (2FA)
- Admin Dashboard
- No database is used.
- Only one predefined user.
- Login attempts reset when the application restarts.
- Intended for educational purposes only.
Paul Doniyal J
Cyber Security Student
This project is created for educational and learning purposes.