http://qs321.pair.com?node_id=104845


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.