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: NCBBKIKAKKEDELCFBBBDIEEEEBAA.kevin@virtualnav.com (view raw or flat)
Thread:
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..."

Thanks!

Kevin


In response to

Responses

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-2014 The PostgreSQL Global Development Group