Received: from ringo.tie.cl (ringo.tie.cl [200.54.144.167]) by postgresql.org (Postfix) with ESMTP id E9688475BE5 for ; Fri, 26 Apr 2002 10:06:14 -0400 (EDT) Received: from webmail.tie.cl (200.54.144.210) by ringo.tie.cl (6.5.016) id 3CB65DB80013908A for pgsql-admin@postgresql.org; Fri, 26 Apr 2002 09:57:20 -0400 Received: from [200.27.225.180] by webmail.tie.cl with HTTP; Fri, 26 Apr 2002 10:11:15 -0400 Date: Fri, 26 Apr 2002 10:11:15 -0400 Message-ID: <3CB67202000037AE@webmail.tie.cl> From: "Steven Cuthbertson" Subject: Permission on tables To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Archive-Number: 200204/264 X-Sequence-Number: 4152 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