Hi i was wondering which are the main things to pay attention when saving data in mongo db?
I mean is there any kind of injection attack possible to the mongo db?
Anything like SQL injections?
thx
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Anytime you pass an unprotected string to something which parses it, you’re vulnerable. XSS, SQL injection, buffer overflows — they all have different names, but they’re all input validation problems where input data turns into executable code.
Sanitize your input; pass references and bind variables.