|
|
|
|
|
|
Re: Row level security [message #627020 is a reply to message #627019] |
Thu, 06 November 2014 09:53   |
 |
Femke
Messages: 6 Registered: November 2014
|
Junior Member |
|
|
Hi Michel,
I don't see how a view will help when 2 users look at the same UI, one is allowed to update, the other is not, can you explain?
Triggers would work indeed but before going there, we would like to see if there is a more generic solution (the main db has > 800 tbls., +/-650 oracle forms a number of .net applications, people connecting with odbc, ms access, ....).
I detect an aversion towards VPD, is it not an obvious choice?
Thanks!
|
|
|
|
|
|
Re: Row level security [message #627082 is a reply to message #627074] |
Fri, 07 November 2014 03:05   |
John Watson
Messages: 8968 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
As a general principle, I agree with Michel: avoid if possible. VPD can be a mission to set up, and tuning can be complicated. Furthermore, it needs Enterprise Edition licences.
But being a declarative technique, it is far superior technology to any of the suggested alternative programmatic techniques. You, the DBA, define the policy and it is applied everywhere. No programmer input.
Your VPD function can do pretty much anything, as long as it conforms to the specification and does not query the table on which the policy is defined.
|
|
|
|