Over a million developers have joined DZone.

Storing Password Data Safely With Node.js and Bcrypt [Video]

DZone's Guide to

Storing Password Data Safely With Node.js and Bcrypt [Video]

In this post we take a look at a common but very important task: How to safely store your users' passwords for use in your web application. Read on to find out more.

· Web Dev Zone
Free Resource

Start coding today to experience the powerful engine that drives data application’s development, brought to you in partnership with Qlik.

When developing a web application there is often a need to store password data in your database.  For example, what if you have users and you don't want to use OpenID or similar for account management?

When storing password data, whether you think your servers are bulletproof or not, they should not be stored as plain text.  The following video tutorial explains how to use Bcrypt to hash passwords before saving them into the database, offering your user accounts enhanced protection.

The above video has a write-up that I did earlier in the year.  The article found here is a great compliment to what you saw above.  For more information and examples on using the Node.js SDK with Couchbase, check out the developer portal.

Create data driven applications in Qlik’s free and easy to use coding environment, brought to you in partnership with Qlik.

node.js ,video ,password ,database ,application ,web dev

Published at DZone with permission of Nic Raboy, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}