From: Jackson, DeJuan <djackson@cpsgroup.com>
To: stevew <stevew@bigeric.force9.co.uk>
To: pgsql-sql@postgresql.org <pgsql-sql@postgreSQL.org>
Subject: RE: [SQL] Function security?
Date: Tue, 15 Jun 1999 12:34:56 -0500
Message-ID: <D05EF808F2DFD211AE4A00105AA1B5D2222404@cpsmail> (raw)
You should be able to accomplish this with views. Check out the docs on
views and the rewrite system.
-DEJ
> -----Original Message-----
> From: stevew [SMTP:stevew@bigeric.force9.co.uk]
> Sent: Tuesday, June 15, 1999 12:09 PM
> To: pgsql-sql@postgresql.org
> Subject: [SQL] Function security?
>
> I wish to control access to some tables, so I do not want to grant
> select to all users. Instead I would like to use some functions which
> return the info.
>
> So I have some tables owned by admin
> I have a user who does not have select permission on the tables owned by
> admin.
> admin has created some functions which perform some selects on admin's
> tables.
> When user runs these functions, user gets permission denied.
>
> Is there a way to let the user be admin when running the functions ????
>
> You can do this with Oracle.
>
> Any help appreciated
>
> Regards,
>
> Steve
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: djackson@cpsgroup.com, stevew@bigeric.force9.co.uk
Subject: Re: [SQL] Function security?
In-Reply-To: <D05EF808F2DFD211AE4A00105AA1B5D2222404@cpsmail>
References: <D05EF808F2DFD211AE4A00105AA1B5D2222404@cpsmail>
* 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