node.js - Mongoose and Query Injection when using Javascript? -


how mongodb address sql or query injection? explains how handle query injection bson when using javascript on server. haven't been able track down how/whether mongoose handles query injection though.

at point have 2 questions:

  1. does mongoose protect against query injection (using bson or other method)
  2. if does, there quirks it's implementation developer need aware of?

mongoose not protect against query injection unfortunately need perform own injection detection following guidelines link above.


Comments

Popular posts from this blog

ruby on rails - Is it the correct way to implement belongs_to relation with factory girl? -

geolocation - Windows Phone 8 - Keeping background location tracking active beyond four hours -

Uncaught TypeError: Cannot read property 'parentNode' of null javascript -