Flask User's Authentication
This is a Web Development project with user's authentication on Flask, and SQLAlchemy.
Technology and Features :
* python-flask, and jinja2 template for back end - front end.
* flask-SQLAlchemy as database modules.
* werkzeug security for password hashing-salting.
* flask-login as user's login manager.
Development
Registration
-
GET
information in register page
and create a new User object
with email
, name
and password
. Save new user into the users.db
.
- Redirect
user
to secrets
page.
Downloading Files
-
secrets
page only access by authenticated user
.
- The authenticated
user
allow to download the file
.
Login
-
GET
information in login page, and match email-password
pairs to authenticate the user.
- If user already authenticated, redirect user to
secrets
page.