4 ms·
I haven't used it myself, but my understanding was that it relies on two things to keep data safe: * Postgres has a pretty extensive role/permission system tha
by Izkata 5y ago
I haven't used it myself, but my understanding was that it relies on two things to keep data safe:
* Postgres has a pretty extensive role/permission system that PostgREST uses to prevent users from accessing rows they're not supposed to see: https://postgrest.org/en/v9.0/auth.html#users-and-groups https://postgrest.org/en/v9.0/auth.html#users-and-groups
* The tables aren't necessarily what you want to expose anyway, you can prevent access to tables directly and use functions and views as the interface instead: https://postgrest.org/en/v9.0/schema_structure.html#functions https://postgrest.org/en/v9.0/schema_structure.html#function...