4 ms·
Not the author of the post, but I guess the author meant that using JavaScript to communicate directly with PostgreSQL database over PostgREST is "architectural
by pulse7 5y ago
Not the author of the post, but I guess the author meant that using JavaScript to communicate directly with PostgreSQL database over PostgREST is "architectural code smell": in this case database can easily be hacked and everybody could write to/remove anything from such an unprotected database...
- afavour 5y agoBut Postgres has row level security, so the OP would be wrong in that case.
- TranquilMarmot 5y agoWho said anything about JavaScript? It's REST so you can hit it with any language, right?
- jokethrowaway 5y agoNot if you setup permissions properly