From: Zot O'Connor <zot@zotconsulting.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Execute permsissions on fuctions
Date: Thu, 23 Aug 2001 11:52:25 -0700
Message-ID: <3B8550E9.3BC47EA7@zotconsulting.com> (raw)
Other SQL servers have the concept of stored procedures having different
permissions.
For instance a procedure that can update a table.
Since a web site typically connects as the webuser (or equiv postgres
user), I do not want to offer update to the webuser.
The way I have done this elsewhere is to create a stored procedure that
could update the table, and allow the webuser to update the table. The
procedure had perms of a user who could update the table, but the
webuser could not.
How can I do this in Postgres?
Thanks.
--
Zot O'Connor
http://www.ZotConsulting.comhttp://www.WhiteKnightHackers.com
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: zot@zotconsulting.com
Subject: Re: Execute permsissions on fuctions
In-Reply-To: <3B8550E9.3BC47EA7@zotconsulting.com>
* 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