Where to keep the URI on a KIVY App project

Please I need help and guidance on a project am working on an App am developing on Python KIVY. My uri from Atlas is embedded in my GUI code on Kivy. Is there any other ways to that? I am thinking, after compiling the app and if unencrypted by some else, the uri might be visible. I am using Pymongo to connect to MongoDB Atlas. Thanks in advance

Hi @Saeed_Bello ,

Depending on the use case, instead of the application making a direct connection to MongoDB Atlas you could either use MongoDB Realm GraphQL API or MongoDB Realm HTTP Service.

The concept is for the application to create requests over an interface to communicate to the database. You could also manage the access permissions for the requests. i.e. read only. see also Realm Collection Rules


1 Like