Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: encryting scripts

by Cirollo (Friar)
on Aug 14, 2001 at 22:01 UTC ( #104845=note: print w/replies, xml ) Need Help??

in reply to encryting scripts

This would be nothing more than obfuscation; anyone who looked at your wrapper script could use the same method to recover the cleartext of the encrypted script.

Also, if you are extracting the script as cleartext and storing it on a disk in a temporary location, it would be easy to get that cleartext file; you just have to read it between the time when it is opened and when it is deleted.

Replies are listed 'Best First'.
Re: Re: encryting scripts
by RayRay459 (Pilgrim) on Aug 14, 2001 at 22:29 UTC
    so there is no way to write an encrypted script and execute it?
      One solution might be to use ActiveState's PerlApp tool, which turns your Perl applications into executables that can be run on machines without Perl installed. This means that you have to buy ActiveState's $195 Perl Dev Kit.

      But, PerlApp doesn't give you absolute security. Anyone who reads the discussion at Security, is it to much to ask? could figure out how to 'decompile' your PerlApp executable and recover the source code. In a lot of cases, PerlApp would give "good enough" security, but anyone who is determined enough could get right through it.

      Unfortunately, I don't know of any airtight way to do what you want.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://104845]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2022-12-02 09:50 GMT
Find Nodes?
    Voting Booth?