Only trust thyself, and another shall not betray thee.

William Penn

Chapter 13Protect Your Data

In previous chapters, you learned how to protect your database from injection and concurrency attacks. When your application is dealing with sensitive information such as credit card numbers or medical records, you have to take even more steps to make sure the data is secure.

Attackers value credit card numbers and medical information—it’s their gold. Despite what you may think or stories you may have heard, most cybercriminals are not looking for lulz—they’re after money.

In this chapter, we step up our game so that you can protect your data in such a way that stealing it would be a long and complex process. You want the criminal to give ...

Get Secure Your Node.js Web Application now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.