Share Collection on Project

Hi everyone, sorry if my question seems stupid, I’m new to mongo db. …
Here I have a project in which I have 3 Collection so basically:
>Project 0
>Collection 1
>Collection 2
>Collection 3

I would like to share only Collection 1 with someone, being sure that he does not have access to the other collections, I do not know how to do it.
Thank you for your help .

you simply create a database user with the appropriate privileges on the database and collection you want to share. if you are using self hosted instances you use db.createUser(), if using Atlas you do it via the web interface.

for general security take M150 from university.mongodb.com and for atlas A300.

1 Like