DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > Storing Password Data Safely With Node.js and Bcrypt [Video]

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.

Nic Raboy user avatar by
Nic Raboy
·
Nov. 27, 16 · Web Dev Zone · Tutorial
Like (0)
Save
Tweet
5.32K Views

Join the DZone community and get the full member experience.

Join For Free

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.

Data (computing) Node.js

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

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Saving Memory In Java: Making The Smallest Memory Footprint
  • 3 Best Tools to Implement Kubernetes Observability
  • What Is Selenium? Getting Started With Selenium Automation Testing
  • Open Source Monitoring and Metrics Landscape

Comments

Web Dev Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo