Hello Retool community!
I'm Sachin Duggal , and I am the owner of a bags manufacturing business, I’m in the process of migrating an external-facing frontend to Retool, where users (external clients) will manage access for their employees. The challenge is ensuring that each logged-in user only has access to their company’s data. We’re considering leveraging Retool’s direct database querying capabilities to save time, but I’m concerned about the security of exposing sensitive company data.
I’m considering using a custom login process to pass a company ID, which would be stored locally (e.g., in local storage or session storage), but this could be vulnerable to manipulation by the user.
Has anyone dealt with a similar issue? How do you ensure secure data access in Retool without the need for constant backend calls for each query? Are there better ways to store or secure company-specific data in Retool while allowing users to only access their own data?
Any tips or insights would be greatly appreciated!
Thanks in advance!
Regards
Sachin Duggal