1

I have mongo running on my system however I can access all my databases/collections from other peoples accounts. Can I secure specific collections? How do I block access to my collections but not cut them off of the mongo shell?

1 Answer 1

1

For authentication purposes you need to start mongod with --auth option (Considering the user and passwords already created.)

For further info please refer this links

mongodb user authentication

Quick tip to setup users in mongodb

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .