Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl-Sensitive Sunglasses
 
PerlMonks  

News regarding compiled commercial deployment of perl based apps?

by isync (Hermit)
on Feb 14, 2012 at 21:55 UTC ( #953778=perlquestion: print w/ replies, xml ) Need Help??
isync has asked for the wisdom of the Perl Monks concerning the following question:

Are there any news regarding the FAQ "I want to distribute my perl based program as an executable binary where no one can peek at my code"?
  • I am too much of a C novice to understand if B::C's perlcompile does this. But perlfaq3 with it's nods to PAR seems to miss this newer way of precompiling, right?
  • Is C code like the output of B::CC per se decompilable?
  • Does adding Wx to the mix change the answer?
Anyone her who can give me a quick update?
http://perldoc.perl.org/perlfaq3.html#How-can-I-hide-the-source-for-my-Perl-program?

I know a really motivated cracker would be able to decompile most software, but what would be the tool to bring a compiled perl on par with non perl-based commercial software?

Monks, please excuse if this thread annoys anyone with yet another "how do I compile my code" thread. I know perl is free and derrivates should be distributed that way as well, open and free, if possible, to be fair. Although ;)

Comment on News regarding compiled commercial deployment of perl based apps?
Re: News regarding compiled commercial deployment of perl based apps?
by InfiniteSilence (Deacon) on Feb 14, 2012 at 22:02 UTC

    I'm asking this purely because I'm curious, but why don't you want anybody to see the code? In other words, is there a technical reason why you don't want anyone to see it or is the aim to simply protect your intellectual property?

    Celebrate Intellectual Diversity

      Simply IP. Someone knowing or changing the inner logics wouldn't do any harm, but it would give away the magic ;)
Re: News regarding compiled commercial deployment of perl based apps?
by Anonymous Monk on Feb 14, 2012 at 22:08 UTC

    Anyone her who can give me a quick update?

    :) nothing has changed

      B:C released 2008, perlfaq3 unchanged. So it's just me not getting it, arg!
Re: News regarding compiled commercial deployment of perl based apps?
by isync (Hermit) on Feb 14, 2012 at 22:17 UTC
    Ok, RFC for this pipeline:
    1. perl source
    2. obfuscate, probably with a commercial one
    3. compiling with something other than PAR, like B::CC
    3. generate C source code with B::CC
    4. compile with a securing C compiler (I have not yet researched how c programmers secure their source)
Re: News regarding compiled commercial deployment of perl based apps?
by chromatic (Archbishop) on Feb 14, 2012 at 22:58 UTC
    ... what would be the tool to bring a compiled perl on par with non perl-based commercial software?

    A complete reimplementation of Perl with a different execution model. Don't hold your breath; you probably won't be able to use any XS modules with it either.


    Improve your skills with Modern Perl: the free book.

      Well, I meant which "pipeline" would make my executable more or less indistinguishable from a binary that originated in the non-perl world.

        Sure, I know what you meant. With Perl 5 as implemented now, and assuming the ability to run arbitrary Perl 5 programs, no such pipeline can exist. It's trivial for any decent Perl hacker to get the source code out of a running program.

Re: News regarding compiled commercial deployment of perl based apps?
by sundialsvc4 (Monsignor) on Feb 15, 2012 at 00:28 UTC

    My goodness... you do not seem to mind using Perl (open source...) with its hundreds or thousands of CPAN packages (open source) upon which your brainchild depends, nor do you mind running it say on a Linux system (open source) using MySQL (open source) and Apache (open source) ...

    What you need is simply a good registered copyright, a good written contract with your customers (courtesy of a real lawyer), and a product that is good enough and well-supported enough that your customers can effortlessly see the logic and the wisdom in buying it from you.   Each one, and every one, of the fabulously successful products that I have just cited are proof of the inherent wisdom of making it absolutely as easy as possible for your customers to make use of your product ... not to put any sort of obstacles in their path.

    Who will make your product, and therefore you, successful?   Your stakeholders... your customers.   Trust them.   Empower them.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://953778]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2014-04-18 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls