Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Guard Perl Scripts

Status
Not open for further replies.

mchance

IS-IT--Management
Joined
Oct 21, 2003
Messages
8
Location
GB
If you want to setup perl scripts on clients IIS servers, what is the best way to protect the scripts so sys admins can't copy your hard work??
 
I too am interested in solving this problem (except I am interested in Apache/mod-perl).

Tom Morrison
 
have a look at perl2exe

it produces .exe files from Perl scripts that bundle all of the required modules up in a single file

has advantage that scripts are fairly unreadable

has disadvantage that each script has its own Perl interpreter embedded in there, so no performance gains from mod perl are possible

I've used it quite a bit and haven't had any problems with it.

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Sounds good, but I don't see this working very well for web-based applications??
 
sysadmins are really stealing your work, or are you just being carefully paranoid? If they actually are, I suggest moving to another system where the admins are more honest. If that's not an option, go ahead and use something like perl2exe, efficent server be damned. It's the admins' fault, let them deal with it.

----------------------------------------------------------------------------------
...but I'm just a C man trying to see the light
 
Hello,

I am a total newbie and would like to know if "perl2exe" better than activestates "perlapp"

thanks,

chester
 
icrf,

I think that mchance is concerned with distribution of a software work product, containing intellectual property value to mchance, on his clients' IIS servers. It is not a situation where he can dictate either the systems or sysadmins, as that would be a decision most likely left to his clients.

Tom Morrison
 
I would agree that perl2exe is not ideal in that it has a Perl interpreter in each script - that's definitely an overhead.

I've usually found, however, that the overhead of an interpreter for each script - as you get when you don't use mod perl or when you use p2e - is not the thing that stops scripts and applications running fast. There's usually more "mileage" in making sure that scripts are well designed and that SQL statements are efficient.

That's a bit off-topic for this thread however...

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top