| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Need good idea
Vlad Olevsky wrote:
> Hi guys
>
> We have a following problem. For security reasons in each table in our
> DB we have addition field which is calculated as hash value of all
> columns in particular row.
>
> Every time when some field in particular row is changed we create and
> call select query from our application to obtain all fields for this
> row and then re-calculate and update the hash value again.
>
> Obviously such approach is very ineffective, the alternative is to
> create trigger on update event and then execute stored procedure which
> will re-calculate and update the hash value. The problem with this
> approach is that end user could then change the date in the tables and
> then run this store procedure to adjust hash value.
>
> We are looking for some solution that could speed up the hash value
> updating without allowing authorized user to do it
>
> Thanks in advance,
> Leon
And you need to send this to every ng you cal spell? Obviously, you're not aware of the security mechanisms within Oracle. Who allowed the end user to execute that procedure?
-- Regards, Frank van BortelReceived on Tue May 03 2005 - 10:24:29 CDT
![]() |
![]() |