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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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