Best Practices and Tutorials

Storing Password Data Safely with Node.js and Bcrypt

1 MIN READ

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 hier is a great comliment to what you saw above.  For more information and examples on using the Node.js SDK with Couchbase, check out the developer portal.

Share this article

Author

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.

Vergessen Sie die Databasenflut

Jede Stapelaufteilung bedeutet eine weitere Rechnung und mehr zu verwalten. Schätzen Sie aus, wie viel Sie in 2 Minuten sparen könnten.