Wrapping Up

Denial-of-service attacks target different points of communication between the web server and the client and can be performed in loads of different ways. In this chapter, you learned to avoid using long synchronous functions, storing loads of information in memory, and using heavily asymmetrical functions.

Now that we’ve educated ourselves about the anti-patterns, we can move forward to securing the client-side application. In the next chapter, we look at one of the most prevalent client-side attacks: XSS.

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.