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).
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.
[sig]<p> <br><a href=mailto: > </a><br><a href= > </a><br> keep the rudder amid ship and beware the odd typo[/sig]
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. [sig]<p>fortytwo<br><a href=mailto:will@hellacool.co.uk>will@hellacool.co.uk</a><br><a href=
Why don't you use the compiler or PerlApp then? [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
Putting scripts in the cgi-local seems to be secure enough unless it needs to be *really* secure I guess. [sig]<p>fortytwo<br><a href=mailto:will@hellacool.co.uk>will@hellacool.co.uk</a><br><a href=
Ah..... Well, SA's often need a security breach or two before they actually admit the need for a change in procedures....
[sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.