avo has asked for the wisdom of the Perl Monks concerning the following question:
Good day fellow monks,
I've been working on a commercial mod_perl software, that is supposed to be installed on the client's Intranet (LAN) server under Windows XP. My problem is that I don't want to give them the source code / or if I do so, it must be scrambled or obfuscated properly so it is difficult for them to understand it. I went looking on the net for proper perl obfuscation software but I couldn't find any that works.
Then I decided to write myself a small filter that removes my source code perl comments "#" and then the new line \n from each line... which is good as a start. Then I noticed that some times I have the # used in places like normal messages, and in some regular expressions... and the code that I am talking about is quite large... to manualy remove the comments. So I have been thinking and thinking and decided to ask you guys what must I do to make the code sort of protected from people's eyes. I understand that I can not realy protect it from a person that knows Perl... what I mean is to make it less readable so there is no easy way for somebody to alter / study it.
I am using Filter::Decrypt for all other source code that is not mod_perl... but unfortunately mod_perl doesn't support source code filters or may be it does... through Apache ... which I couldn't find either.
Is there a good perl source code comments remover... or mod_perl source filter
or other way to keep my source protected (even through hiding the folder in Windows with third party software).
Please help me.
Then I decided to write myself a small filter that removes my source code perl comments "#" and then the new line \n from each line... which is good as a start. Then I noticed that some times I have the # used in places like normal messages, and in some regular expressions... and the code that I am talking about is quite large... to manualy remove the comments. So I have been thinking and thinking and decided to ask you guys what must I do to make the code sort of protected from people's eyes. I understand that I can not realy protect it from a person that knows Perl... what I mean is to make it less readable so there is no easy way for somebody to alter / study it.
I am using Filter::Decrypt for all other source code that is not mod_perl... but unfortunately mod_perl doesn't support source code filters or may be it does... through Apache ... which I couldn't find either.
Is there a good perl source code comments remover... or mod_perl source filter
or other way to keep my source protected (even through hiding the folder in Windows with third party software).
Please help me.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to protect a mod_perl script
by cog (Parson) on May 25, 2006 at 08:36 UTC | |
Re: How to protect a mod_perl script
by davorg (Chancellor) on May 25, 2006 at 08:47 UTC | |
Re: How to protect a mod_perl script
by Herkum (Parson) on May 25, 2006 at 12:41 UTC | |
by ruzam (Curate) on May 25, 2006 at 15:28 UTC | |
by avo (Pilgrim) on May 26, 2006 at 12:35 UTC | |
Re: How to protect a mod_perl script
by dsheroh (Monsignor) on May 25, 2006 at 15:04 UTC | |
Re: How to protect a mod_perl script
by tcf03 (Deacon) on May 25, 2006 at 10:12 UTC | |
Re: How to protect a mod_perl script
by leocharre (Priest) on May 25, 2006 at 16:27 UTC | |
Re: How to protect a mod_perl script
by ioannis (Abbot) on May 25, 2006 at 14:43 UTC |
Back to
Seekers of Perl Wisdom