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

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.


Comment on Re: encryting scripts
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-09-20 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (155 votes), past polls