Search Postgresql Archives

No PUBLIC access by default?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all-

Is there any way to disable PUBLIC access by default?  When I create a
new object (table, function, etc.), it has no ACL, as expected.
However, the first time I run:

GRANT ALL ON FUNCTION foo() to GROUP developers;

Postgress seems to do:

GRANT ALL ON FUNCTION foo() to PUBLIC;

I assume this is b/c no ACL is equivalent to PUBLIC access & this gets
included when adding specific privileges.

I want *no* PUBLIC access to anything by default for security reasons.
Is there a way to prevent this behavior?

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux