Jump to content

Making a software Trial Version


needs_upgrade

How to make a software trial version that expires  

2 members have voted

  1. 1. How to make a software trial version that expires

    • Software Trial Version
      2
    • Limit Piracy
      0


Recommended Posts

Hello guys!

 

One of my clients suggested that I should be making trial versions of my work to attract more clients. An my concern is how to LIMIT piracy. Would you guys be kind to give me some insights?

 

These are what i have in mind:

 

1. A function that will delete some php codes (add / del / edit / etc) upon expiration of the software. (But what if someone deleted the function before it expires?)

2. A function that will delete the tables in the MySQL DB (Again, someone might delete the function)

3. Is there a way to limit access from a database after expiration?

 

I know that there is no way to stop piracy, but is there a way to limit it? Most of my clients are medical doctors (most of them are not into programming). I am hoping for some insights/suggestions.

 

Thanks and more power to you guys.

Link to comment
Share on other sites

Hello guys!

 

One of my clients suggested that I should be making trial versions of my work to attract more clients. An my concern is how to LIMIT piracy. Would you guys be kind to give me some insights?

 

These are what i have in mind:

 

1. A function that will delete some php codes (add / del / edit / etc) upon expiration of the software. (But what if someone deleted the function before it expires?)

2. A function that will delete the tables in the MySQL DB (Again, someone might delete the function)

3. Is there a way to limit access from a database after expiration?

 

I know that there is no way to stop piracy, but is there a way to limit it? Most of my clients are medical doctors (most of them are not into programming). I am hoping for some insights/suggestions.

 

Thanks and more power to you guys.

are you talking about a web application? or some client-side software in some other language? i'm not sure what you're asking

Link to comment
Share on other sites

  • 2 weeks later...

The issue I have with IonCube or Nu-Coder or any other php script encoder is that, from what i know, the end user must install that software on there server.  Personally I would not hire any coder that would require me to install one of these encoder programmer or use any software that require one of these.  It would be nice if PHP would by default install an encoder/decoder becusae then i would actually use one.

Link to comment
Share on other sites

The issue I have with IonCube or Nu-Coder or any other php script encoder is that, from what i know, the end user must install that software on there server.  Personally I would not hire any coder that would require me to install one of these encoder programmer or use any software that require one of these.  It would be nice if PHP would by default install an encoder/decoder becusae then i would actually use one.

 

 

But, that's pretty much required.  Because those encoders are compiled, it's much more difficult to reverse either of them than a method which would be entirely uncompiled.  How would you safely (or more safely might be a better term, since it seems like it just takes time for the encryptors to get cracked) encrypt a PHP file without a PHP extension?  Anything the PHP file would do to its self could easily be undone and the original source gotten at.  So, either the PHP file or an extension needs to be compiled, unless you can think of some other way ;p.

 

 

Edit:  Hrmmmm seems you had no issues with why you had to install one, and I read your post entirely wrong.  You just don't want to, you understand why it's necessary.

 

 

If PHP had one by default, it would get cracked in about 5 minutes everytime it was updated.  I almost think the encoder/decoder would need to be closed source with the executable encrypted for it to work well enough x.x.

Link to comment
Share on other sites

Put the web application up on your server, and make it so that every hour or so it will reset the database to the defaults. Do this by making an additional field, `last_reset`, in the database, and a function in the application that checks if it was been over an hour since its last reset. Then, when a user loads the page, it will reset it if it has been too long.

Link to comment
Share on other sites

If PHP had one by default, it would get cracked in about 5 minutes everytime it was updated.  I almost think the encoder/decoder would need to be closed source with the executable encrypted for it to work well enough x.x.

 

And that is why i will probably never ever use one(or at least personally, i would use one if i was told i had to for work).  I think the best option for showing a demo of your application is to host it yourself.

Link to comment
Share on other sites

if you dont want to do encoding, or do a demo, you could "give away" a stripped down version of your software....and possibly sell the upgrade, or sell the add-ons... maybe having a product key that stored on your server, and checked against whats stored on the server where the software is installed, although this would work best only for people who arn't too PHP savvy... :-P

Link to comment
Share on other sites

Why don't you ask Microsoft, Adobe, or perhaps the entire game industry how to battle piracy? Oh wait, even with their billions of dollars they still haven't figured it out...

 

If PHP had one by default, it would get cracked in about 5 minutes everytime it was updated.  I almost think the encoder/decoder would need to be closed source with the executable encrypted for it to work well enough x.x.

 

AES is open. Now go crack it for me. :P

Link to comment
Share on other sites

Like Daniel0 said, the best encryption solutions are based on an open standard and are still uncrackable. Why open? Security through obscurity only works as long as no one figures out your method. As soon as someone figures it out, you're boned. And someone always figures it out.

 

The other alternative is to use a simple solution in clear php code to authenticate a license key. True, php experts may be able to hack around it, although I never have. Most organizations will pay for a license.

 

~ Christopher

Link to comment
Share on other sites

Why don't you ask Microsoft, Adobe, or perhaps the entire game industry how to battle piracy? Oh wait, even with their billions of dollars they still haven't figured it out...

 

If PHP had one by default, it would get cracked in about 5 minutes everytime it was updated.  I almost think the encoder/decoder would need to be closed source with the executable encrypted for it to work well enough x.x.

 

AES is open. Now go crack it for me. :P

 

 

AES is open.  Go code an extension and encrypt PHP scripts with it.

 

 

No, but seriously....  The key would have to be either in the PHP file (obviously a bad idea) or in the PHP extension compiled in.  So, unless you did a custom install or a key was auto generated the first time the extension was loaded or something.....

 

What I'm pretty much saying is, how do you stop someone from getting at the key?  Then, once he/she has the key, decrypting the file would be simple.

 

Also, the key would have to match on separate PHP installations, meaning it would need to be portable with scripts.  No idea how that's going to work....

 

Maybe you were just using AES as an example of a secure open method algorithm.  (I sure as hell couldn't singlehandedly crack something with a decent AES key.  Not while I'm alive anyway ;p.)

 

Or is there something I'm missing?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.