4

I am finishing a Cocoa App which will use CocoaFob for licensing and I am wondering about the "most" efficient and secure way to implement a trial period in cocoa.

Thanks in advance for your help,

Regards,

1

2 Answers 2

1

for security you need to make sure it is not in an easy to spot method, as this can be switched out at runtime. ideally it should be checked in multiple places, where disabling/modifying the method would disable Important chunks of the application(ie loading initial data).

Having said that, how much do you want to risk inconveniencing a genuine user? and how much time can you justify spending, working on something that doesn't give someone a reason to buy your application?

you also have to make sure that keys don't get redistributed, and realistically if someone is determined enough, they will pirate your application one way or another. spend just enough time to keep honest people honest.

also bare in mind that a trial version wont be able to be submitted to the mac app store, and neither will a version with license key management, so you will either be cutting your self out of that market, or distributing a version without license keys, which may get cracked anyway.

hopefully this helps, and i would be interested in reading what solution you decide to go with.

2
  • Thanks for your answer. Where would you store the installation date for a trial period?
    – AP.
    Nov 29, 2010 at 6:36
  • it depends on what your application does. one option is to store it in user defaults, and any documents saved, so that if the defaults are deleted and they load a document into the application, the date is restored. another option is to generate a Unique identifier for the computer, and have it authenticate online. you then run into the issue of people being unable to register the application if they dont have an internet connection, or if the server is having issues. its something else to maintain.
    – MCannon
    Nov 29, 2010 at 13:51
1

If your going to implement a time based demo consider using one based on processor time and not an absolute date.The idea being, the user can use your application fully for, say 4 hours, of CPU time. That way they are not locked into a 'must decide by date'. I often have downloaded soomething to look at, then later tried to really use it only to have the trial date expired.

It's not that hard to implement and I'm sure users would appreceiate more.

3
  • I am pretty sure most users wouldn't understand - much too technical. And if even the licensing is complicated, then what to expect from the software itself? As a potential customer I'd pass right along.
    – Eiko
    Nov 30, 2010 at 20:27
  • I would point to SketchUp which uses this type of trial, and 8 hours of CPU time is more than adequate to evalute a product.
    – tgunr
    Dec 1, 2010 at 6:02
  • This doesn't answer the question -- what is most efficient and secure implementation?
    – jlstrecker
    Nov 11, 2011 at 0:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.