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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -