Mejores prácticas y tutoriales

Storing Password Data Safely with Node.js and Bcrypt

Lectura de 1 minutos

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 Aquí 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.

Compartir este artículo

Autor

Nic Raboy es un defensor de las tecnologías modernas de desarrollo web y móvil. Tiene experiencia en Java, JavaScript, Golang y una variedad de marcos de trabajo como Angular, NativeScript y Apache Cordova. Nic escribe sobre sus experiencias de desarrollo relacionadas con hacer que el desarrollo web y móvil sea más fácil de entender.

Deja un comentario

¿Listo para comenzar con Couchbase Capella?

Comenzar a construir

Visita nuestro portal para desarrolladores para explorar NoSQL, consultar recursos y comenzar con los tutoriales.

Usa Capella gratis

Empieza a usar Couchbase en tan solo unos clics. Capella DBaaS es la forma más fácil y rápida de comenzar.

Ponte en contacto

¿Quieres saber más sobre las ofertas de Couchbase? Permítenos ayudarte.