Any way to log or monitor whether developers accessed user data on Realm?

I’m working with contractors on an app that is using a Realm Sync/Atlas.

Users may store somewhat sensitive/revealing data on the app. I’d obviously like to protect users data as much as possible. Is there any way for me to have a log or alert when a contractor views or queries the data of a specific user?

Apologies for the noob/naive question but just want to get a grasp on what’s possible in terms of protecting user data from the unlikely event a contractor looks at user data.

Thanks!

@Zach_Tucker: Welcome to the Realm community.

This is a very classical question in the technology domain that can be solved if you have a separate environment for development and production, so I would recommend you do the same.

Hello @Zach_Tucker,

Users may store somewhat sensitive/revealing data on the app. I’d obviously like to protect user’s data as much as possible. Is there any way for me to have a log or alert when contractor views or queries the data of a specific user?

This can be controlled by defining partitions and using a strategy that works for your use case. The strategies will allow you to create a private realm/partition for users’ private data which only users have access to and/or more public realms for shared data access. For more details check the Partitions and Strategies sections.

I hope the provided information helps.

Kind Regards,
Henna

2 Likes