DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Precompiled body?

  1. #1
    Join Date
    Mar 2001
    Location
    Ireland/Dublin
    Posts
    688

    Unhappy

    Hi,
    Oracle's packages consists of compiled bodies.
    Is anybody knows how to make the same body? As I don't wont to liave my scripts redable for eveyone.
    Thanks!

  2. #2
    Join Date
    Mar 2001
    Posts
    314
    use the pl/sql wrapper located in ORACLE_HOME/bin. The executable is "wrap" in unix.

    -amar

  3. #3

    but...

    Do you really need to wrap your code? In practice your users shouldnt have access to read the code anyway adn it makes it a REAL pain if ever your production system is out of step with your development and test databases:- how do you then find out if anything is different. Only wrap code if your 'go-live' procedures are water-tight...

  4. #4
    Join Date
    Mar 2001
    Location
    Ireland/Dublin
    Posts
    688
    Thank you !!!
    Now I'v got more enthusiasm from work! ;-)

  5. #5
    I'd just like to point out that if you are wrapping your code for security reasons, it would be much better to find a different solution.

  6. #6
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Originally posted by jhmartin
    I'd just like to point out that if you are wrapping your code for security reasons, it would be much better to find a different solution.
    And what would be this different solution? The trick with PL/SQL wrapper is that humans can not read the wrapped code, *but PL/SQL parser can read it*. Wrapped code might not be the most secured and uncracable, so sure, you can encrypt/hash it with whatever algorithm you want, but then PL/SQL parser will not be able to understand it.

    So you are stuck with the supplied wrapper, no better or different way to have it stored unreadable in the database.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width