From: Steven Cuthbertson <steven@tie.cl>
To: pgsql-admin@postgresql.org
Subject: Permission on tables
Date: Fri, 26 Apr 2002 10:11:15 -0400
Message-ID: <3CB67202000037AE@webmail.tie.cl> (raw)
Question:
I have a server X with Apache & PHP and a server Y with Postgres. I had the
usual "permission denied" error while trying to execute a query pg_exec in
a simple php page. I googled around a bit and found a page suggesting that
I do this:
grant ALL on mytable to PUBLIC;
Q: Is this dangerous? What is encompassed by "ALL"? Read? Write? Drop? There
are some extremely clever hackers out there and I have already seen what
they can do, without leaving them any loopholes...
Steven
________________________________________
Obtenga su direccion de correo en http://www.internetempresas.cl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: steven@tie.cl
Subject: Re: Permission on tables
In-Reply-To: <3CB67202000037AE@webmail.tie.cl>
References: <3CB67202000037AE@webmail.tie.cl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox