Lesson 13 of 14 · Security and deployment
Securing a Node API: injection, XSS, CORS, rate limiting, helmet and dependencies
Objective
Know the attacks that really target an online shop or booking API, and apply concrete countermeasures: never trust input, escape output, set the right headers, configure CORS, limit the rate of requests, check who has the right to read what, and monitor your npm dependencies.
This lesson is part of the full course
Unlock Node.js: Build and Ship an API to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.