patternMinor
Mongodb restrict access on collections level
Viewed 0 times
levelmongodbcollectionsrestrictaccess
Problem
I'm building a backend system using MongoDB. Now I want to restrict access on certain numbers of database collections to this system. For example I have
users, admin_users, pageviews and I want this system to be able to read and write only admin_users and pageviews collections but no read or write access on users colection. Is there any ways to do so?Solution
They have added collection-access ACLs, see here: http://docs.mongodb.org/manual/core/collection-level-access-control/
Context
StackExchange Database Administrators Q#53953, answer score: 3
Revisions (0)
No revisions yet.