Secure the Data Stored Within Your Application

In the previous sections we looked at how to protect the data when the application collects it in the browser and when the application transfers it to the server. These steps focus on short-term protection because the data is present only for a short time. In this section, let’s look at how to protect your data for the long term. If you’re saving it in storage, you want to keep it for a long time, right? As long as you have the data saved somewhere, someone will try to target it in an attack.

Don’t Hoard Data


The easiest way to protect your application is to not store any sensitive information at ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.