3 ms·
Hmm. Wouldn't this also be useful for browser-hosted application code that wants to talk to PG directly?
by dboreham 4y ago
Hmm. Wouldn't this also be useful for browser-hosted application code that wants to talk to PG directly?
- kelvich 4y agoRight, that is one of the use cases. Auth is tricky part in that setup -- in the browser user may change the query in arbitrary way. But there are some workarounds like obtaining JWT from 3rd party service and checking it via Row-Level Security policy in Postgres.