Melhores Práticas e Tutoriais

Storing Password Data Safely with Node.js and Bcrypt

1 MIN DE LEITURA

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 aqui 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.

Compartilhe este artigo

Autor

Nic Raboy é um defensor das tecnologias modernas de desenvolvimento web e móvel. Ele tem experiência em Java, JavaScript, Golang e uma variedade de frameworks como Angular, NativeScript e Apache Cordova. Nic escreve sobre suas experiências de desenvolvimento relacionadas a tornar o desenvolvimento web e móvel mais fácil de entender.

Deixe um comentário

Deixe a proliferação de bancos de dados no passado

Cada adição de pilha significa mais contas a pagar e mais coisas a administrar. Estimule o quanto você poderia economizar em 2 minutos.