Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: tough choices
Question though. How many customers in reality have security
requirements that are this granular and that need to be met based on
only an IP address coming in?
Larry Edelstein
Howard J. Rogers wrote:
> "Tony" <andrewst_at_onetel.net.uk> wrote in message
> news:c0e3f26e.0406250739.487a81ce_at_posting.google.com...
>
>>"Howard J. Rogers" <hjr_at_dizwell.com> wrote in message
>>>"Serge Rielau" <srielau_at_ca.eye-be-em.com> wrote in message >>>news:cbgou8$dmp$1_at_hanover.torolab.ibm.com... >>> >>> >>> >>>>>* Security Policies (policies attached to tables and views that >>>>>determine what rows can be accessed based on information known about
>>>>>user) >>>> >>>>Can be handled with views. Let the DBMS do what the DBMS does best. >>> >>>Mark can answer for himself, but no this sort of thing can't reasonably
>>>handled with views. I have a sales table. I want customers to access
>>>but they must only see their own rows. If all I've got are views, I've
>>>to create a different view for each user. And change my application so
>>>references the right view at the right time as new views are added
>>>new customers are acquired. Views just won't cut it. >> >>I wouldn't dispute that FGAC is a better way to achieve this, but it >>isn't true that if you used views you would need a view per user. >>Long ago in Oracle 7 I worked on a project that implemented access >>control via views that looked something like: >> >>create view emp_view as >>select * from emp >>where deptno in >>( select deptno >> from users >> where username = USER >>); >> >>Only one view was required per table. Of course, the predicate was >>actually rather more complex than that, but you should get the idea.