It's very important to scale and secure your applications. Scaling and securing are not one-time tasks. You need to keep making changes to your code as you add new features to increase application security, and as your application traffic and data increases, you need to scale your servers. In this chapter, you will learn how to make Node.js applications more secure and how to scale Node.js applications. I will be assuming that your are using Express for creating your web server as it is the most common.
In this chapter, we will cover:
Application vulnerabilities
Non-vulnerability attacks
Various third-party services to protect your application
Checking security issues in third-party packages
Techniques of distributing traffic