Securing my Node.js app's REST API?

前端 未结 4 1508
孤独总比滥情好
孤独总比滥情好 2021-01-29 17:53

I could do with some help on my REST API. I\'m writing a Node.js app which is using Express, MongoDB and has Backbone.js on the client side. I\'ve spent the last two days trying

4条回答
  •  星月不相逢
    2021-01-29 18:30

    The answers so far do a great job of explaining, but don't give any actual steps. I came across this blog post that goes into great detail about how to create and manage tokens securely with Node + Passport.

    http://aleksandrov.ws/2013/09/12/restful-api-with-nodejs-plus-mongodb/

提交回复
热议问题