From the course: Node.js: Security

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Overview of denial of service

Overview of denial of service

From the course: Node.js: Security

Start my 1-month free trial

Overview of denial of service

- [Instructor] A Denial of Service attack is basically an attack that renders your needed service, such as client, server or application, unavailable to your users. An attacker can achieve this by manipulating the network code, or exploit vulnerabilities of your service. In most cases, the hacker overwhelms the server of requests, therefore shutting it down. They often use techniques such as creating too much data on your database, creating a loop mechanism, lock customer accounts, or failure to release specific resources, all through code exploit. A good example for Node.js specifically is the use of complicated regular expressions to render the service unavailable for a while, or hang indefinitely. So to prevent this type of attack, you want to make sure all your inputs and forms are properly sanitized and validated, and that you have mechanisms in place to prevent looping instructions, or the creation of multiple objects, or data on your database. Also, it is a good idea to avoid…

Contents