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

images/aside-icons/note.png

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

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.