Django User Authentication OVERVIEW OF USER AUTHENTICATION Anthony - - PowerPoint PPT Presentation

django user authentication
SMART_READER_LITE
LIVE PREVIEW

Django User Authentication OVERVIEW OF USER AUTHENTICATION Anthony - - PowerPoint PPT Presentation

Django User Authentication OVERVIEW OF USER AUTHENTICATION Anthony Alampi OWNER, X FACTOR CONSULTANTS www.XFactorConsultants.com User Authentication (Auth) The methods by which a web app verifies the identity of a user and limits their


slide-1
SLIDE 1

www.XFactorConsultants.com

OWNER, X FACTOR CONSULTANTS

Anthony Alampi

OVERVIEW OF USER AUTHENTICATION

Django User Authentication

slide-2
SLIDE 2

The methods by which a web app verifies the identity of a user and limits their abilities

User Authentication (Auth)

slide-3
SLIDE 3

User Authentication

Uses for Authentication:

  • Log who visits your site
  • Regulate the actions of users
  • Can defend against malicious actors,

DDoS attacks, and more User Auth Methods:

  • Custom User Auth
  • 3rd party Authenticators like Google

logins or Facebook logins

slide-4
SLIDE 4

Se Setting ing Up Use ser A r Aut uthe hent ntica ication ion

slide-5
SLIDE 5

Imp Imple leme ment nting ing Log

  • gin a

in and nd Sig Signup nup

slide-6
SLIDE 6

Ha Hashing shing a and nd S Storing

  • ring Passwor
  • rds
slide-7
SLIDE 7

Hashing and Salting Logins

Without Hashing and Salting:

  • User enters their login info
  • Login info is stored as plain text on

database

  • A breach of the database reveals the

user’s password With Hashing and Salting:

  • User login is stored using encryption
  • A database breach will not reveal a

user’s password

slide-8
SLIDE 8

Hashing and Salting Logins

Password formatting: Password formatting:

  • algorithm$iterations$salt$hash

Algorithm:

  • Used to record which hashing algorithm is used

Iterations:

  • How many times the hashing algorithm is used

Password Upgrading:

  • Automatically re-generates password hashing when

Django is updated