Securing the API — Security · NestJS

Everything from the course on one service, in the order the request meets it: helmet's headers and CORS at the door, the throttler, then who is asking, then what they may do, with passwords hashed and a health check that is never counted.

What you will learn

Read the theory for Securing the API

All Security lessons

All NestJS courses

loading types…

What you'll learn

  • Place every layer from the course in the request pipeline and say what each one answers, and before which other
  • Wire helmet, CORS, the throttler, the authentication and roles guards, and hashed passwords into one service from memory of the lessons
  • Read a response and tell which layer produced it: the headers, a 429, a 401, a 403
  • List what a real deployment still needs that the browser cannot show: secrets from configuration, TLS, a proxy's addresses, shared rate-limit storage