Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Noob Oracle Question
CJM wrote:
> >> I gave the user SELECT ANY TABLE privileges and the used the following
> >> command:
> >>
> >> Select * from IFSAPP.MyTable;
>From the SQL Reference Guide:
SELECT ANY TABLE: Query tables, views, or materialized views in ANY
schema.
Thus a VERY powerful privilege.
Good database security is based on (a) Security by design (b) Defence in Depth and (c) Least Privileges.
The last one "Least Privileges" is the easiest to maintain, and the easiest to neglect. Anyway, what you want to grant is SELECT on the specific table to the specific user that requires it.
As user IFSAPP do:
grant SELECT on MYTABLE to <user_that_requires_select_priv>;
This will grant only what is need to whom requires it.
Regards
Bernard
Received on Fri Aug 18 2006 - 04:05:48 CDT