3

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

1 Answer 1

3

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.