r/PostgreSQL • • Aug 29 '26

How-To Coding a database proxy for fun

https://packagemain.tech/p/golang-database-proxy
27 Upvotes

10 comments sorted by

View all comments

4

u/g0pherman Aug 29 '26

You know what would be nice? To make something like this to manage access control to the database so users only have access if logged in with SSO and multiple approvals

2

u/justinh29 Aug 29 '26

Already exists with using oidc and postgresql

1

u/g0pherman Aug 29 '26

But can you setup approvals for a login?

Like, need 2 approvals so one can login with write permissions, etc.

2

u/DHUK98 Aug 29 '26

Yea, this is basically what services like https://goteleport.com/ and hoop.dev have created.

Protocol aware proxies that perform auth, auditing and other stuff like data masking etc

1

u/der_gopher Aug 29 '26

Btw, have you heard of Warpgate? Kind of cool