MENU

Fun & Interesting

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

Video Not Working? Fix It Now

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/softwaredeveloperdiaries 🙌 Become my Patreon and get exclusive perks: https://patreon.com/softdevdiaries 💼 Follow me on LinkedIn and drop me a message if you'd like: https://linkedin.com/in/gusgadirov 💻 Also, let's connect on GitHub: https://github.com/gusgad 📚 Resources: Original source: https://github.com/goldbergyoni/nodebestpractices Rate-limiter-flexible: https://www.npmjs.com/package/rate-limiter-flexible Body-parser: https://github.com/expressjs/body-parser Helmet: https://www.npmjs.com/package/helmet NPM audit: https://docs.npmjs.com/cli/v10/commands/npm-audit 🕒 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 😊

Comment