Security with react-native

Hi everyone,

I’m a new react-native developer and I was following this guide: https://docs.mongodb.com/realm/tutorial/react-native/

Noticed that the guide doesn’t mention anything about securing the mongodb realm ID. Won’t that allow others to easily access and manipulate my db?

@Jerry_Ye You will need to enable authentication and it will block access

Then would I need something else to access my realm from my client besides just the ID?

Yes you would need to authenticate with a valid logged in user