In Chapter 6 of Mastering Flask Web Development, Daniel Gaspar and Jack Stouffer show you how to leverage Flask login and how to implement Role-Based Access Control

No images? Click here

SitePoint Next

Securing Your Flask App

One of the most commonly added features on a web app is some form of aunthentication: whether that's a simple password-based login screen or a more sophisticated role-based access control system.

In Chapter 6 of Mastering Flask Web Development, Daniel Gaspar and Jack Stouffer take you through a comprehensive look at authentication and access control in Flask. 

The chapter contains:

  • A brief overview of various authentication methods: basic authentication, remote user, LDAP, database authentication, and OpenID and Oauth
  • How to leverage Flask login (database/cookie authentication)
  • How to implement role-based access control (RBAC) to distinguish functionality and implement granular access to normal blog users

By the end of the chapter you'll know how to implement secure logins, understand multiple login and registration options, and build applications with explicit access permissions.

 
Book cover image

Mastering Flask Web Development, Second Edition

Build modern, secure, production-ready web MVC apps and APIs using Python’s Flask framework. Utilize various extensions like Flask-JWT and Flask-SQLAlchemy to develop powerful applications. Deploy a Flask app on real-world platforms like AWS and Heroku on VMs or Docker containers.

Learn Flask Today
 

Start your subscription today and you'll get access to this book, plus 300+ other web design and development books in SitePoint Premium!

Until next time,
James at SitePoint

 
SitePoint,
Level 1,
110 Johnston St,
Fitzroy VIC 3065
Australia
You're receiving this email because you signed up to receive news from SitePoint. Smart choice!
 Like 
 Tweet 
 Share 
 Forward 
Preferences  |  Unsubscribe