Skip site navigation (1) Skip section navigation (2)

Setting Permissions for web viewing

From: "Kevin Leclaire" <kevin(at)virtualnav(dot)com>
To: <pgsql-novice(at)hub(dot)org>
Subject: Setting Permissions for web viewing
Date: 2000-10-19 17:22:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
What's the cleanest way to set permissions in postgres so that a web
application can properly view and query a back-end database, but not modify?

I have tried modifying pg_hba.conf, and got it to do a pg_connect()
successfully, however, the subsequent pg_Exex() call failed with the
following browser error: "Warning: PostgreSQL query failed: ERROR:
table_name: Permission denied..."



In response to


pgsql-novice by date

Next:From: D. DucciniDate: 2000-10-19 17:30:42
Subject: Re: Setting Permissions for web viewing
Previous:From: Tom LaneDate: 2000-10-19 17:22:48
Subject: Re: Stupid question: concatenating strings

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group