How to hide stored procedures and triggers code from users other than SYSDBA in Interbase?

1.2k views Asked by At

I found some information about the encryption and embedded password features in Interbase 2009, but it does not prevent database users to see the source code. Is it possible to hide the stored procedures and triggers codes from all user including SYSDBA too? If not at least I can hide it from some users.

2

There are 2 answers

4
Colin Jong On BEST ANSWER

Figured out how to do it:

update rdb$Triggers set rdb$Trigger_source = ""
where
    rdb$system_flag = 0
    and rdb$trigger_name not like "CHECK%";

update rdb$procedures set rdb$procedure_source="";
0
Patrick Moloney On

Last I heard it could not be hidden. However, the source code of the procedures could be removed from the system tables. I forget the details of doing this, but that is the approach that has worked for a long time.