A secure and beginner-friendly Flask web application for user registration and login, featuring AES password encryption and SQL injection protection. Designed with a beautiful UI and clean code structure β ideal for learning and showcasing secure web development.
- π Register & Login with encrypted credentials
- π AES-256 Encryption using Python's
cryptographymodule - π‘οΈ SQL Injection Protection via parameterized queries
- π¨ Responsive UI (purple gradient design, mobile friendly)
- π½ SQLite database storage
- β¨ Easy to understand for students and beginners
- Clone the repo
git clone https://github.com/amnatariq290/Secure-Cloud-App-Encrypted-Login-Registration-with-SQL-Injection-Protection.git
cd Secure-Cloud-App-Encrypted-Login-Registration-with-SQL-Injection-Protection- Create virtual environment
python -m venv venv
venv\Scripts\activate # On Windows- Install dependencies
pip install -r requirements.txt- Generate encryption key
python generate_key.py- Run the app
python app.py- Visit:
http://localhost:5000
Secure-Cloud-App/
β
βββ app.py
βββ db.py
βββ encryption.py
βββ generate_key.py
βββ secret.key
βββ requirements.txt
βββ users.db
β
βββ static/
β βββ images/
β βββ bg.jpg
β
βββ templates/
β βββ index.html
β βββ login.html
β βββ success.html
β
βββ README.md
- Python 3.x
- Flask
- SQLite
- Cryptography (Fernet)
- HTML/CSS
Amna Tariq
Computer Engineering Student | Python & Front-End Developer
If you found this useful, consider giving it a β to support my work!
