On Sun, Nov 14, 2010 at 9:39 AM, vajjra 007 <[email protected]> wrote:

> Dear fellow members,
>
> I'm developing a Perl program that can be used on Linux hosts to perform
> certain tasks. Planning to release a premium version of the program that
> will be run on servers with public IP address for a low price. How can I
> setup a license system incorporated to the software?
>
> I understand I have to setup the following:
>
> it sounds like you're asking about the technical aspects, so...


> 1. A licensing server with a Database that contains user info, host IP -
> and
> what else is needed there?
>

it depends on how you setup your license. i mean, you could just give a
license key of a real long checksum based on some scheme (or use pgp but
look into their license if you go that route) and have the client check in
with a key on an interval or use policy.

>

2. setup a program (a CGI script) that runs on the license server to show
> the status of the license for a particular IP.
>

why?

>
> 3. Do I need a license key for each user? If so, why do I need one and
> which
> module can be used to verify the license key - Crypt::RSA?
>

haven't looked into this. i'm sure there are tons of ways depending on
whether you want to use a checksum or pki#. just make sure your clients open
a secure tunnel to the server for license exchange. also, don't try to
reinvent the wheel here - one of the worst things that proprietary projects
try to do is create their own encryption thinking they'll be more secure -
trust me, you're not that good.

>
> 4. Now I need to call that script from my Perl program. As the program is
> currently open source, what is the best way to integrate the license
> system.
> If it needs to be closed source, what is best way to encrypt a perl
> program?
>

google 'obfuscating perl code'


>
>
> Any help or tips would be highly appreciated. Thank you in advance!
>

Reply via email to