我正在寻找应该添加到Node/Express应用程序的模块,以解决下面列出的一般安全问题:
谢谢你的帮助!
我找到的一些资源:
优秀演讲(11/2012):http://lanyrd.com/2012/asfws/sxzbm/ (见幻灯片)
ServerFault问题(2011-2012):https://serverfault.com/questions/285123/is-node-js-mature-for-enterprise-security
关于主题的博客文章(9/2012):http://codefol.io/posts/29-Why-Rails-and-not-Sinatra-or-Node-js-
漏洞测试程序:https://code.google.com/p/skipfish/
护照模块:https://github.com/jaredhanson/passport
EveryAuth模块:https://github.com/bnoguchi/everyauth
我刚刚了解了Access-Control-Allow-Methods标题,例如
Access-Control-Allow-Methods: OPTIONS, HEAD, GET
Run Code Online (Sandbox Code Playgroud)
我从来没有使用过这个标题(只是Access-Control-Allow-Origin),但过去我已经让CORS工作了.
是默认允许所有方法,还是我对未定义的行为感到幸运?