Overview
Explore five password authentication methods, ranging from least to most secure, implemented using Node.js and PostgreSQL. Learn how to build a secure login system by examining different approaches to storing and retrieving passwords. Begin with basic plain text storage, progress through hashing techniques, incorporate salting for added security, utilize bcrypt for advanced protection, and finally, discover a method that avoids storing passwords in the database altogether. Gain practical insights into each authentication method's implementation, strengths, and weaknesses through hands-on examples and explanations.
Syllabus
Intro
Auth Method 1 - Authentication password plain text
Auth Method 2 - Authentication with Password hash
Auth Method 3 - Authentication with Password hash and Salt
Auth Method 4 - Authentication with bcrypt hash with inline salt
Auth Method 5 - Encrypt everything, don’t store password in the database
Taught by
Hussein Nasser