> In particular, one early question was whether to use wildcard patterns
> or schema names. People were saying wildcard patterns would be more
> flexible because people don't always set up their objects in different
> schemas. But if we had a mechanism someone wanted to use which
> depended on schemas they would be far more likely to choose to set up
> schemas for objects which belong in different security classes.
What I'm saying is that there are many users currently using schema for
security classes. I personally haven't ever encountered a DBA who used
role ownership of objects as a mechanism for security context. There's
nothing conceptually invalid about the latter approach, but it would be
hard for DBAs to grasp, and as a result less of them would use it.
Mainly that's because the concept of schema easily maps (even if
inaccurately) to the concept of directories, whose permissions IT staff
are used to managing. So it's more intuitive for a DBA to say "This is
sensitive data so I'm going to put it in the SENSITIVE schema" than to
say "this is sensitive data so I'm going to have the table belong to the
Further, it's common practice on other DBMSes to have a "database owner"
role which owns all database objects. So DBA who learn Postgres second
are going to do that.
If we were going for a theoretically pure approach, we'd actually have a
"security context" concept which would include a bundle of permissions
and each object would belong to one.
PostgreSQL Experts Inc.
In response to
pgsql-hackers by date
|Next:||From: Nathan Boley||Date: 2009-06-29 20:28:01|
|Subject: Re: Multi-Dimensional Histograms|
|Previous:||From: Greg Stark||Date: 2009-06-29 19:53:54|
|Subject: Re: pre-proposal: permissions made easier|