From: | Oleg Broytmann <phd(at)sun(dot)med(dot)ru> |
---|---|
To: | "Gilley, Charles H(dot)" <Charles(dot)Gilley(at)glenayre(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgreSQL(dot)org> |
Subject: | Re: [GENERAL] table protections? |
Date: | 1998-11-26 09:45:54 |
Message-ID: | Pine.SOL2.3.96.SK.981126124226.20861C-100000@sun.med.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello!
On Wed, 25 Nov 1998, Gilley, Charles H. wrote:
> Okay, trying to turn on web access to my table. Pending some changes
> to the pg_hba.conf file, I have the following on my tables:
>
> +------------------+----------------------------------------------------+
> | Relation | Grant/Revoke Permissions |
> +------------------+----------------------------------------------------+
> | tblauthors | {"=","www=r"} |
> ~ ~ ~
> | tbltopics | {"=","www=r"} |
> +------------------+----------------------------------------------------+
>
> Note the first "=" in the permissions. What does this mean - that
> public has no access? Also, how is the owner dealt with in the
> permissions?
Yes , it means no public access.
Owner? Very imple - you have no access too!
When you create a table, you have full access to it. But once you run
GRANT -what- ON table TO www
you loose all you rights. You should include yourself into GRANT:
GRANT -what- ON table TO myself.
Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.
From | Date | Subject | |
---|---|---|---|
Next Message | Anatoly K. Lasareff | 1998-11-26 14:28:45 | Problem with PlPgsql function on composite types |
Previous Message | Michael A. Koerber | 1998-11-25 21:34:11 | Re: [GENERAL] equivalent of sqlload? |