News for hackers. Stuff that matters.
Re:Ask HN: Handle customer DB access in SaaS by cyptus on Tuesday November 29, 2022 @04:57PM (#33793941)
Not that big as the costs for an own database or complete copy would suffice, including administrative expense
Re:Ask HN: Handle customer DB access in SaaS by bombcar on Tuesday November 29, 2022 @05:08PM (#33794068)
Offer it as a feature only available if they pay $(3-5x estimated costs).

If they bite, wahooooo!

Re:Ask HN: Handle customer DB access in SaaS by cyptus on Tuesday November 29, 2022 @05:14PM (#33794138)
which makes the cheaper approach by filling a second database by events and providing access even better, just want to check if i didn’t miss any simple option as for sure these kind of requests are quite common in b2b
Re:Ask HN: Handle customer DB access in SaaS by bombcar on Tuesday November 29, 2022 @05:18PM (#33794179)
Postgres offers some views and filters by account or something if I recall, but I don't know anything about it (and I'd still be skeeved out by giving someone raw database access when the system hadn't been designed from the ground up for it).

https://www.postgresql.org/docs/current/ddl-rowsecurity.html

Re:Ask HN: Handle customer DB access in SaaS by Kepouick on Wednesday November 30, 2022 @04:15AM (#33798541)
Indeed this looks a lot like a custom request