From: | "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com> |
---|---|
To: | stevew <stevew(at)bigeric(dot)force9(dot)co(dot)uk>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgreSQL(dot)org> |
Subject: | RE: [SQL] Function security? |
Date: | 1999-06-15 17:34:56 |
Message-ID: | D05EF808F2DFD211AE4A00105AA1B5D2222404@cpsmail |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)bigeric(dot)force9(dot)co(dot)uk]
> Sent: Tuesday, June 15, 1999 12:09 PM
> To: pgsql-sql(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Collin F. Lynch | 1999-06-15 18:00:54 | |
Previous Message | Bruce Momjian | 1999-06-15 17:13:18 | Re: [SQL] optimizer woes ? |