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

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -