How to 100% Protect PL/SQL Code By Wrapped in Oracle Database 10g R2
Hello,
Is Possible to 100% Protect PL/SQL Code By Wrapped in Oracle 10g R2 ?
If it is not possible by wrap in oracle 10g R2,
Please, let me suggest, how i will be able to 100% protect PL/SQL code in Oracle Database 10g R2.
Because, I have lot of functions, procedures & package's in my project.
Which is running in field filed.
So, i have needed to protect 100%.
Also, will i convert to al functions, procedures & package's to .pll file ?
And .pll file to .plx file?
Is it possible to convert .plx file to .pll file ?
Please, let know any better solutions in this case....
Regards
Mehedi
Hello,
No, wrapping is not a 100% secure method. It could prevent your code from amateurs, but not from professional hackers. Look at the article http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/wrap.htm#BEHGBJAA
It says: "•Wrapping is not a secure method for hiding passwords or table names.
Wrapping a PL/SQL unit prevents most users from examining the source code, but might not stop all of them."
Edited by: apiminov on 03.12.2012 3:23
Edited by: apiminov on 03.12.2012 3:24
Similar Messages
-
SQL slow after upgrading to Oracle Database 10g Enterprise Edition Release
Hi all:
We have recently upgraded our database from Oracle9i Enterprise Edition Release 9.2.0.6.0 to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
After that we found that our some sql getting very slow
for example query with 9i showing result in 4 seconds while in 10g showing result in 28 seconds.
Following is the execution plan of my query in Oracle9i
Operation Object PARTITION_START PARTITION_STOP COST
SELECT STATEMENT () 9458
NESTED LOOPS () 9458
SORT (UNIQUE)
INDEX (RANGE SCAN) BL_EQ_PK_N 2
VIEW () CONTAINER_INFO 2
UNION-ALL (PARTITION)
TABLE ACCESS (BY INDEX ROW SERVICE_EVENTS 1
NESTED LOOPS () 11
NESTED LOOPS () 10
NESTED LOOPS (OUTER) 9
NESTED LOOPS () 8
NESTED LOOPS () 7
NESTED LOOPS () 6
NESTED LOOPS () 5
NESTED LOOPS () 4
NESTED LOOPS (OUT 3
TABLE ACCESS (BY EQUIPMENT_USES 2
INDEX (UNIQUE S EQUSE_PK 1
TABLE ACCESS (BY SHIPPING_LINES 1
INDEX (UNIQUE S LINE_PK
INDEX (UNIQUE SCA EQHT_PK
TABLE ACCESS (BY I EQUIPMENT_TYPES 1
INDEX (UNIQUE SCA EQTP_PK
TABLE ACCESS (BY IN EQUIPMENT_SIZES 1
INDEX (UNIQUE SCAN EQSZ_PK
TABLE ACCESS (BY IND SHIP_VISITS 2
INDEX (RANGE SCAN) SVISIT_UK 1
TABLE ACCESS (BY INDE SHIPS 1
INDEX (UNIQUE SCAN) SHIP_PK
TABLE ACCESS (BY INDEX CARE_VIR_MAP 1
INDEX (UNIQUE SCAN) VIR_VESVOY
TABLE ACCESS (BY INDEX EQUIPMENT 1
INDEX (RANGE SCAN) EQ_EQUSE_FK
INDEX (RANGE SCAN) SEVENTS_EQUSE_FK_N
NESTED LOOPS () 7
NESTED LOOPS () 6
NESTED LOOPS () 5
NESTED LOOPS () 4
NESTED LOOPS (OUTER) 3
TABLE ACCESS (BY INDE EQUIPMENT_USES 2
INDEX (UNIQUE SCAN) EQUSE_PK 1
TABLE ACCESS (BY INDE SHIPPING_LINES 1
INDEX (UNIQUE SCAN) LINE_PK
INDEX (UNIQUE SCAN) EQHT_PK
TABLE ACCESS (BY INDEX EQUIPMENT_TYPES 1
INDEX (UNIQUE SCAN) EQTP_PK
TABLE ACCESS (BY INDEX R EQUIPMENT_SIZES 1
INDEX (UNIQUE SCAN) EQSZ_PK
TABLE ACCESS (BY INDEX RO EQUIPMENT 1
INDEX (RANGE SCAN) EQ_EQUSE_FK and following is my query plan in Oracle 10g
Operation Object PARTITION_START PARTITION_STOP COST
SELECT STATEMENT () 2881202
NESTED LOOPS () 2881202
SORT (UNIQUE) 2
INDEX (RANGE SCAN) BL_EQ_PK_N 2
VIEW () CONTAINER_INFO 2881199
UNION-ALL ()
NESTED LOOPS (OUTER) 2763680
NESTED LOOPS () 2718271
NESTED LOOPS () 2694552
NESTED LOOPS () 2623398
NESTED LOOPS (OUTER) 2623380
NESTED LOOPS () 2393965
NESTED LOOPS () 2393949
NESTED LOOPS () 2164536
NESTED LOOPS () 1706647
NESTED LOOPS () 854120
TABLE ACCESS (FU BL_EQUIPMENT 1515
TABLE ACCESS (BY EQUIPMENT_USES 1
INDEX (UNIQUE S EQUSE_PK 1
TABLE ACCESS (BY EQUIPMENT 1
INDEX (RANGE SCA EQ_EQUSE_FK 1
TABLE ACCESS (BY I EQUIPMENT_TYPES 1
INDEX (UNIQUE SCA EQTP_PK 1
TABLE ACCESS (BY IN EQUIPMENT_SIZES 1
INDEX (UNIQUE SCAN EQSZ_PK 1
INDEX (UNIQUE SCAN) EQHT_PK 1
TABLE ACCESS (BY INDE SHIPPING_LINES 1
INDEX (UNIQUE SCAN) LINE_PK 1
INDEX (RANGE SCAN) SEVENTS_TSERV_FK_N 1
TABLE ACCESS (BY INDEX SHIP_VISITS 2
INDEX (RANGE SCAN) SVISIT_UK 2
TABLE ACCESS (BY INDEX R SHIPS 1
INDEX (UNIQUE SCAN) SHIP_PK 1
TABLE ACCESS (BY INDEX RO CARE_VIR_MAP 2
INDEX (UNIQUE SCAN) VIR_VESVOY 1
NESTED LOOPS (OUTER) 117519
NESTED LOOPS () 98158
NESTED LOOPS () 78798
NESTED LOOPS () 78795
NESTED LOOPS () 59432
TABLE ACCESS (FULL) EQUIPMENT_USES 20788
TABLE ACCESS (BY INDE EQUIPMENT_TYPES 1
INDEX (UNIQUE SCAN) EQTP_PK 1
TABLE ACCESS (BY INDEX EQUIPMENT 1
INDEX (RANGE SCAN) EQ_EQUSE_FK 1
INDEX (UNIQUE SCAN) EQHT_PK 1
TABLE ACCESS (BY INDEX R EQUIPMENT_SIZES 1
INDEX (UNIQUE SCAN) EQSZ_PK 1
TABLE ACCESS (BY INDEX RO SHIPPING_LINES 1
INDEX (UNIQUE SCAN) LINE_PK 1can somebody help me regarding this?
Thanks
HassanI would say ..gather stats on 9i/10gfor the required table and indexes , then post the expalin plan.
--Girish -
How sql developer connects to a oracle database
hi,
I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
How does it make the connection with oracle server?
Sameera924164 wrote:
hi,
I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
How does it make the connection with oracle server?
SameeraWelcome to OTN
From Left side Tab click on (+) New Connection. Then at the window give a connection name,User name,Password.
Then provide Host Name, Port and SID
Click on Test button and then save or connect.
Hope this will help you -
Problem when connecting locally to Oracle Database 10g from Java code
Good afternoon,
I try to connect to my local Oracle 10g from JAVA code. Could somebody tells me what are the 'values' to enter in place of 'value1, value2, value3' in the following:
final String connectionURLThin = "jdbc:oracle:thin:@value1:value2:value3";
I tried to put my 'user' and 'pw' credentials I used when connecting with SQL*PLUS:
value1=my_user_name
value2=my_pw
value3=my_schema
but it doest work. Besides where could have I to put the 'WORKSPACE" name?
Thanks for any help.
Claude
Details:
ERR MESSAGE----------------------
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:365)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:854)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:200)
at javaapplication6.ConnectionExample.driverManager(ConnectionExample.java:138)
at javaapplication6.Main.main(Main.java:36)
Caused by: java.lang.ClassNotFoundException: oracle.dms.instrument.ExecutionContextForJDBC
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
... 8 more
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)
---------------------ERR MESSAGE
JAVA code------------------it compiles but throw an error when running there -> (*)...
final String driverClass = "oracle.jdbc.driver.OracleDriver";
final String connectionURLThin = "jdbc:oracle:thin:@jeffreyh3:1521:CUSTDB";
final String userID = "scott";
final String userPassword = "tiger";
final String queryString = "SELECT" +
" user " +
" , TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') " +
"FROM dual";
public void driverManager() {
Connection con = null;
Statement stmt = null;
ResultSet rset = null;
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection(connectionURLThin, userID, userPassword); // (*) prob here
stmt = con.createStatement ();
rset = stmt.executeQuery(queryString);
rset.close();
stmt.close();
} catch (SQLException e) {e.printStackTrace();
--------------------JAVA JDK 1.6
My system ------------------------
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionYes, the network connection could not be established. Like the error said.
What you're asking about is the exact reason, but that could be any number of things and not at all related to code. You could have the wrong host, the wrong port. A firewall could be blocking the outgoing connection, a firewall could be blocking the incoming connection. Etc. etc. -
How to know a utility is installed or not in oracle database?
hi,
how to know a utility is installed or not in oracle database?
thanks
rajuTo list the number of DBMS packages
SQL> select * from dba_objects where object_name like '%DBMS%';This will only return DBMS packages (not other packages like UTL_FILE, UTL_ENCODE, ..etc). -
How can i convert data from DBF to oracle database 10g?
Sir,
How can i convert data from DBF to oracle database 10g?I assume you at least know how to dump the contents of foxpro dbf file into CSV format.
Regarding SQL*Loader, hope this demo makes it a bit clear to you...
http://www.princeton.edu/~storacle/sqlloader_demo.shtml
I agree that it is an old web page (references Oracle 8.0.5) but basics remain the same.
If it is still unclear to you after referring above link, then get an Oracle consultant. -
How to install Oracle Database 10g for windos vista
hia
i am new student in a collage and i started learn SQL command
i want to practice SQL command in my Laptop
i downloaded Oracle Database 10g Release 2 (10.2.0.3) for windows vista
but i have difficult to install it i mean i wana know the steps to install oracle
could u show me by photo or video how to install oracle in my labtob
also some of my friend said u should have a local server in ur labtop to make oracle programe work .... is it true??
if it correct learn me how to make it and connect it to oracle
also some of my friend said u should have a this information form oracle web side
USER NAME :
PASSWORD:
HOTAGE STRING :
please help mehaloooooo
i am waiting for somebody to help me
nobody can
pliz pliz plizPlease, please, please understand that this forum is populated with unpaid volunteers. It's not a help desk.
The complete installation installation guide is included with the installation software. It is also part of the exhaustively complete documentation set for every oracle product found at tahiti.oracle.com. Go there, select your product and version. When you arrive at the page for your specific product version, somewhere on that page (location varies between versions) you will find a link to the installation guide.
Also please note that there are several versions of Vista, and the Oracle db is not certified for all of them, but only for specific versions. -
How can I enable trace log in Oracle Database 10g ( in RedHat Linux)
Dear Forums Members,
Could u plz drop a message about how can I enable $Oracle_Home/network/trace
in Oracle Database 10g (Operating system is RedHat Linux Advanced Server 3).
I will very greatful if someone reply my message.
Thanks
AungshuTo enable Tracing for a session Level.
ALTER SESSION SET TRACEFILE_IDENTIFIER = 'my_trace_id';
Enable the SQL Trace facility for the session by using one of the following:
SQL> Exec DBMS_SESSION.SET_SQL_TRACE
or
SQL> ALTER SESSION SET SQL_TRACE = TRUE;
To disable the SQL Trace facility for the session, enter:
ALTER SESSION SET SQL_TRACE = FALSE;
To enable Tracing for a database level.
Edit init parameter SQL_TRACE = TRUE.
Its not recomended because running the SQL Trace facility increases system overhead, enable it only when tuning SQL statements, and disable it when you are finished -
Problem in starting SQL*PLUS in oracle database 10g
Hi
Well I am facing one problem while starting SQL*PLUS in oracle database 10g
ERROR - "Procedure entry point longjmp could not be located in dynamic link library orauts.dll"
This has happened when I installed Oracle Database 11g on same machine and when I deinstalled Oracle 11g then SQL*PLUS is started...no error came
Can anybody tell me the reason please...hi
pls im having the same problem but in my own case i installed oracle apex using 11g.
im env variable is:
C:\Oracle\product\10.1.0\Client_1\bin;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\app\Xty\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\
pls which is my apex_home so i can interchange it?
i also have oracle 10g client installed -
How to install Oracle Label Security in Oracle Database 10g EE
Hello All
I just want to know how to install Oracle Label Security in Oracle 10g Database EE.
I read in Oracle Enterprise Manager Grid Control Installation and Basic Configuration that Label Security must be installed before installing Enterprise Manager Grid Control.
I have Oracle Database 10g Release 1 (10.1.0.1) on my Windows XP System, and I patch it to 10.1.0.3.
M.
Sorry about my English.Options is to connect to Oracle Policy Manager or use Oracle Internet Directory (OID)to administer Oracle Label Security.
Find more ways in the Documentation here:
http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14267/toc.htm -
How to Connect Oracle Database 10g Express Edition ?
From example
http://www.oracle.com/technology/obe/hol08/dotnet/getstarted-c/getstarted_c_otn.htm
using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider
using Oracle.DataAccess.Types;
string oradb = "Data Source=ORCL;User Id=hr;Password=hr;";
OracleConnection conn = new OracleConnection(oradb); // C#
conn.Open(); <== Connect Error
Error Message "ORA-12154: TNS:could not resolve the connect identifier specified"
I used
Visual Studio 2005
Oracle Database 10g Express Edition
setup "Oracle Developer Tools for Visual Studio .NET with ODAC 10.2.0.2.21"
Best Regards,
Edited by: user1949694 on 8 ก.ย. 2552, 9:20 น.I search "tnsnames.ora" in my computer. I found 3 file
1. C:\oraclexe\app\product\10.2.0\server\hs\admin\tnsnames.ora
2. C:\oraclexe\app\product\10.2.0\server\NETWORK\ADMIN\tnsnames
3. C"\oraclexe\app/product\10.2.0\server\NETWORK\ADMIN\SAMPLE\tnsnames
How to entry in your tnsnames.ora file File1, File2, File3
How to called "ORCL"?
Please Help Me Step by Step
Thank You.
: ) -
Oracle Database 10g Express Edition How to change the prot 8080 ????
Hello I have installed Oracle Database 10g Express Edition
it listen to port 8080 how can I change it to prot i want ?
ThanksAbove post addressed you query. But i suggest Book Mark following doc,it will address most of the queries regarding XE Database
Oracle Database Express Edition 2 Day DBA -
I have a oracle database 10g version 10.1.0.3 on solaris 10 x86. I can't find the recent patches suitable to my database.
How can I upgrade it to 10.1.0.5 or higher (10.2.0.4)?
Thanks.take a looks at this metalink doc for all upgrade needs...
sub: Complete checklist for manual upgrades of Oracle databases from anyversion to any version on any platform (documents only from 7.3.x>>8.0.x>>8.1.x>>9.0.x>>9.2.x>>10.1.x>>10.2.x>>11.1.x)
Doc ID: 421191.1 -
"Oracle Database 10g: SQL Fundamentals I" with a FRENCH language ?
S'il vous plait ,je veux telecharger des cours en "Oracle Database 10g: SQL Fundamentals I" en francais est ce qu'il ya des liens disponible...? Merci
-Please i want to download a Course "Oracle Database 10g: SQL Fundamentals I" with a FRENCH language wat do i do?
thanks for yourYou could look for it in your local bookstore or at amazon.
I think oracle provides only documentation in english language for download, but I may be wrong.
Edited by: hm on 09.11.2011 04:08 -
Tablesusing in the work practice of Oracle Database 10g-SQL Fundam 1
I want scripts sql builder for the tables (LOCATIONS, DEPARTMENTS, JOB_HISTORY, COUNTRIES, EMPLOYEES, JOBS, REGIONS, JOB_GRADES) use in the work practice of Oracle Database 10g-SQL Fundamentals(I)
I thank you
Youssef BENABDELLAHThese exist in the HR schema.
You may need to log in as SYS user and unlock the HR user account so you can log in with it (and set a password too if appropriate/necessary)
Maybe you are looking for
-
PL/SQL Function source of text field
I have the following code as a PL/SQL function body as the source of a text item. There is a group_options table that specifies if the user group selected has fixed pricing or can key in a price. For the fixed price groups, I was wanting to have the
-
Does Windows 8 work well with Captivate ?
Hi, I need to replace a laptop that stopped working today. Windows 8 has come out today as well ! I want to know whether its OK to specify windows 8 professional for the new PC or whether I need windows 7 professional. Currrent tech specs do not ment
-
Confirm delete in command button
Hi All, My use case is to show a javascript confirm box after hitting the delete button(seems to be very basic use case). But whether I cancel it or press OK , the actionListener fires and corresponding row gets deleted.(Using JDev 11g TP2). I found
-
Setup system check says internet explorer is open when it's not
When I get to the setup screen (for the trial version of Illustrator), the first thing is system check. It says my internet explorer is open, and it's not. I've closed all programs that use internet including all of my antivirus and spyware, my vista
-
When I have a table set up with thin line borders in Numbers '09 on my laptop, save to iCloud and then open in Numbers on iPad the borders are gone!