×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

perl code encryption

perl code encryption

perl code encryption

(OP)
Hi

I'm looking for a good way for perl scripts encryption. This basically to prevent people from reading the source and copy it (i.e. clients are web developpers).

Any idea?

RE: perl code encryption

Never thought about this before.......some ideas.....

First - don't put it where they can get it.  Sorry, I know that is an obvious one, but valid none the less.  I guess this is kind of hard to do if the code is going on their server.

Second - You could bundle the code into executables with perl2exe or activestate's perlApp, but using those can be a little bit of a pain.

Third - If you don't need the programs to be executable ( just storing them ) you could come up with a simple map for a-z, A-Z, 0-1, and some punctuation and convert the text. Save the converted versions.   Just don't loose your key.

I'll be interested to see other responses.




keep the rudder amid ship and beware the odd typo

RE: perl code encryption

I work for a web hosting company and the basic method used to keep our scripts private is to keep them in a cgi-bin directory.  This is set so that anyone trying to access the scripts will have the script interpreted and will never see the code.  Also, you should be able to include a section in your scripts that will only run the entire script if the referrer is a file that you have specified.

Hope this helps.

fortytwo
will@hellacool.co.uk
my test site

RE: perl code encryption

Because I am shared hosting tech support and the SA's won't give me that much access :-|

I have my own shared hosting account which I use to play around on:

http://www.hellacool.co.uk/

Putting scripts in the cgi-local seems to be secure enough unless it needs to be *really* secure I guess.

fortytwo
will@hellacool.co.uk
my test site

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close