Node.js Security Best Practices #2: non-root user, payload size limiting, auth limits
Вставка
- Опубліковано 28 чер 2024
- 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: 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: github.com/gusgad
📚 Resources:
Original source: github.com/goldbergyoni/nodeb...
Rate-limiter-flexible: www.npmjs.com/package/rate-li...
Body-parser: github.com/expressjs/body-parser
Helmet: www.npmjs.com/package/helmet
NPM audit: 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 😊 - Наука та технологія
A professional API course from scratch by an experienced dev like you is always appreciated sir
Your content is extremely helpful for a newbie like me. However, I'm still new to these security matters and lack experience in it. If you're not too busy, could you also make a hands-on tutorial video demonstrating all the security measures you've mentioned, in a separate video?
You can make it as a series too and put it on a playlist
I’ll probably not able to make it as I have limited time and my main job, but what I could recommend you is to take those points one by one and google them to find practical examples. Thank you for you feedback anyways 🤗
More node server content! thank you!
Pro tip:
Use dependencies as little as you can, or don't use dependencies at all if you can.
not using any... I don't think that's a good idea for smaller projects
Need more security videos. Pls make a playlist
Will do!
👏🤝🤝 👏 amazing content
Thanks mate!