Auth Method 1 - Authentication password plain text
3
Auth Method 2 - Authentication with Password hash
4
Auth Method 3 - Authentication with Password hash and Salt
5
Auth Method 4 - Authentication with bcrypt hash with inline salt
6
Auth Method 5 - Encrypt everything, don’t store password in the database
Description:
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.
Five Password Authentications From Least to Most Secure - Explained with NodeJS & Postgres