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 😊
  • Наука та технологія

КОМЕНТАРІ • 10

  • @jeffkirchoff14
    @jeffkirchoff14 4 місяці тому +1

    A professional API course from scratch by an experienced dev like you is always appreciated sir

  • @Hataken999
    @Hataken999 6 місяців тому +3

    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

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  6 місяців тому

      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 🤗

  • @codermeloman3030
    @codermeloman3030 5 місяців тому +1

    More node server content! thank you!

  • @AhmadNasriya
    @AhmadNasriya 2 місяці тому +2

    Pro tip:
    Use dependencies as little as you can, or don't use dependencies at all if you can.

    • @themaridv2000
      @themaridv2000 15 днів тому

      not using any... I don't think that's a good idea for smaller projects

  • @king-virat-kohli
    @king-virat-kohli 4 місяці тому

    Need more security videos. Pls make a playlist

  • @0xtz_
    @0xtz_ 6 місяців тому

    👏🤝🤝 👏 amazing content