Wrapping Up
Databases are an integral and powerful part of a web application, and you must secure all transactions in order to protect your clients’ data. As you learned in this chapter, you must secure your database connections and limit access privileges where you can. You must also be vigilant about escaping and validating all user input that comes into contact with the database, even if it’s a NoSQL database. Implementing these two steps will greatly increase the security of your data.
Now that you’ve secured how the application communicates with the database, the attackers will find it harder to target your application. Don’t get too cozy just yet, because there are many more attack vectors to defeat out there. Next we’ll move on to another ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access