Hello ,
DB version - 10gR2
OS - solaris 10
We have a requirement of encrypting a pl/sql code at client side , so that no one can interpret the code without DBA rights.
We have use warp utility to encrypt the code and yes it's working fine.
below is a example what we have done...
PL/SQL code
set serveroutput on;
CREATE OR REPLACE PROCEDURE NIMAI.TESTWRAP AS
BEGIN
dbms_output.put_line(' ');
dbms_output.put_line('This is a test line.......');
dbms_output.put_line(' ');
END TESTWRAP;
Wraped like...
wrap iname=test_wrap.sql oname=wrapped_testwarp.sql
output of wrapped_testwarp.sql file...
CREATE OR REPLACE PROCEDURE "NIMAI"."TESTWRAP" wrapped
a000000
b2
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
7
9a a2
UGztSdrSYy3KxGXoiWkTUUhmvhAwg5nnm7+fMr2ywFznUrLLvSjAdGm4dCuPwMAy/tKGCbhS
m7JK/iiyveeysx0GMCyuJOqyMkQyLvbccfGoiFiVnmeJTWnxo3FRyLdYnOVb+2dMcZ4wX13A
gcc3mBXs+6Z1UD6k
/
now whenever we executed the procedure NIMAI.TESTWRAP we get the output ...
but the wrapped code can be unwrapped using a online tool which I have searched....
Unwrap It! Unwrap PL/SQL Code
Now my question is that is there any other way by which we can encrypt the code and it can only be decrypt by the one who has DBA rights(not by any other mean)
It's urgent...
Thanks & Regards
Nimai Karmakar