Node.js Security Best Practices #2: non-root user, payload size limiting, auth limits
3,803 views
0

 Published On Dec 18, 2023

Node.js security best practices such as vulnerability audits, HTTP response headers, payload size limiting and running Node.js as non-root user are going to be covered in this video.

☕ Buy me a coffee: https://www.buymeacoffee.com/software...
🙌 Become my Patreon and get exclusive perks:   / softdevdiaries  
💼 Follow me on LinkedIn and drop me a message if you'd like:   / gusgadirov  
💻 Also, let's connect on GitHub: https://github.com/gusgad

📚 Resources:
Original source: https://github.com/goldbergyoni/nodeb...
Rate-limiter-flexible: https://www.npmjs.com/package/rate-li...
Body-parser: https://github.com/expressjs/body-parser
Helmet: https://www.npmjs.com/package/helmet
NPM audit: https://docs.npmjs.com/cli/v10/comman...

🕒 Timestamps:
0:00 Intro
0:20 Running as a non-root user
2:10 Module loading
3:11 Payload size limiting
4:52 Authentication limits
5:50 HTTP response headers
6:34 Vulnerability inspections

And don't forget to subscribe for more videos like this 😊

show more

Share/Embed