Re: Controlling licensed software?

[prev] [thread] [next] [Date index for 2005/02/23]

From: Adi Fairbank
Subject: Re: Controlling licensed software?
Date: 05:02 on 23 Feb 2005
On Sun, 20 Feb 2005 20:26:07 -0500
Stas Bekman <stas@xxxxxx.xxx> wrote:

> Adi Fairbank wrote:
> > Take a look at Crypt::License on CPAN.  I used it a couple years back to do
> > exactly what you are trying to do.  It encrypts your Perl source code and
> > then decrypts it on the fly.  There is a slight overhead for the decryption,
> > but if running under mod_perl, that should be negligible since it would only
> > need to decrypt on apache startup.
> 
> Just be aware that if perl sees the decrypted code, the user can see it 
> too. It's not trivial but certainly doable, for example while running 
> under perl debugger. I wonder why Crypt::License docs don't include any 
> warning. Or do I miss something? I haven't tried this particular module, 
> but all the previous discussions about similar modules had the conclusion 
> that you can really hide the code, other than making it harder to get to it.
> 

Yes, it's fairly easy (for any programmer) to intercept the perl code after it
is decrypted and before it's sent to the perl interpreter.  It would not be easy
for the average user though (depending on who your users are).

But with Crypt::License, you will only be able to decrypt *if* you have a valid
license key.  That may not make a difference, if you are offering free trial
versions, for example.

Stas, I'm sure you didn't miss anything in the Crypt::License docs.. As I
remember, the docs were very minimal and it took me a while just to figure out
how to get it to work- and I had to look through the source quite a bit.

-Adi

Controlling licensed software?
Chris 07:48 on 20 Feb 2005

Re: Controlling licensed software?
Matisse Enzer 08:33 on 20 Feb 2005

Re: Controlling licensed software?
Jay Scherrer 17:30 on 20 Feb 2005

Re: Controlling licensed software?
Todd Finney 18:01 on 20 Feb 2005

Re: Controlling licensed software? [veering OT]
Todd Finney 23:49 on 20 Feb 2005

Re: Controlling licensed software? [veering OT]
Jay Scherrer 00:06 on 21 Feb 2005

Re: Controlling licensed software?
Adi Fairbank 18:23 on 20 Feb 2005

Re: Controlling licensed software?
Matisse Enzer 19:10 on 20 Feb 2005

Re: Controlling licensed software?
Tony Clayton 20:14 on 20 Feb 2005

Re: Controlling licensed software?
Chris 19:58 on 20 Feb 2005

Re: Controlling licensed software?
Stas Bekman 01:26 on 21 Feb 2005

Re: Controlling licensed software?
Adi Fairbank 05:02 on 23 Feb 2005

Re: Controlling licensed software?
Michael 01:04 on 24 Feb 2005

Generated at 22:43 on 24 Feb 2005 by mariachi v0.52