node.js - Direct browsing of a resource -
is there possibility of "direct browsing of resource" attack in node js applications , how can prevent it?
edit: use express framework
node.js http servers not serve static content, call code. if there possibility attack in code, not in node.js core or in http module.
regarding edit: express provides static middleware, open possibility direct browsing attack, if configure serve static files directory contains sensitive resources. if keep dedicated directory static content, of safe browsed directly, , there no sensitive content below directory, you'll safe if serve express' static middleware.
Comments
Post a Comment