News for hackers. Stuff that matters.
Re:PostgREST 9.0 by lvturner on Tuesday November 30, 2021 @03:12AM (#29390026)
why?
Re:PostgREST 9.0 by pulse7 on Tuesday November 30, 2021 @05:27AM (#29390720)
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...
Re:PostgREST 9.0 by afavour on Tuesday November 30, 2021 @07:56AM (#29391592)
But Postgres has row level security, so the OP would be wrong in that case.
Re:PostgREST 9.0 by TranquilMarmot on Tuesday November 30, 2021 @01:31PM (#29395633)
Who said anything about JavaScript? It's REST so you can hit it with any language, right?
Re:PostgREST 9.0 by jokethrowaway on Tuesday November 30, 2021 @05:20PM (#29398223)
Not if you setup permissions properly