News for hackers. Stuff that matters.
Re:Need Postgresql HTTP API Extension by dragonwriter on Monday September 22, 2014 @01:30PM (#8351514)
> the traditional database server security model is at the table level.

Actually, many RDBMSs (postgres included) provide security at the command, relation (table/view), and column level.

With that, and appropriate view definitions and triggers, you can essentially as fine-grained permissions as you'd like. We manage this all client side because while much of the theory of this has been around for servers and held up as the ideal model since very early in the RDBMS era, a lot of the necessary features were not implemented in many servers (or implemented so wildly inconsistently between servers as to make practical, rather than theoretical, knowledge sharing in the community difficult.) That's less true now, though it still requires implementation-specific knowledge for the SQL implementation you are using.

There are no comments on this comment yet.