by treis · 6y ago · 0 comments
Can you use SET LOCAL ROLE <user> on each transaction ?
It adds a layer of security so it might prevent some bugs leading to exploits. But in itself is not enough to rely on to separate tenants.
I think for this use case security is focused on accidentally returning the wrong tenant's data (fully or partially)
Yes, but typically not across tenants. Maybe the flaw is only exploitable to admins of each tenant and they shouldn’t see other tenants data.