help with function security

From: Steve Waterworth <stevew(at)bigeric(dot)force9(dot)co(dot)uk>
To: pgsql-sql(at)postgresql(dot)org
Subject: help with function security
Date: 1999-06-15 12:11:40
Message-ID: 376642FC.4C01738E@bigeric.force9.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Browse pgsql-sql by date

  From Date Subject
Next Message Alexander Schneider 1999-06-15 12:21:03 FullTextIndex Problems on Update
Previous Message Maarten Boekhold 1999-06-15 11:52:32 Re: [SQL] Full-Text-Indexing