• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 30 day trial howto?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 30 day trial howto?


  • Subject: Re: 30 day trial howto?
  • From: Allan Odgaard <email@hidden>
  • Date: Sat, 12 Jun 2004 05:55:06 +0200

On 12. Jun 2004, at 2:16, Adam wrote:

It depends how secure you want it to be... If you only want a minor inconvenience, just put a first-run date in the NSUserDefaults and tell the app to quit if that date is 30 or more days ago. For more security, I've seen developers try and hide the date information in hidden files in various places throughout the filesystem. I don't really know any of the advanced/secure ways of doing what you ask.

You could store the date in the preferences, but encrypt it. Your application should then quit if either the date has been exceeded *or* if there is a preferences file w/o a date. That way, the user will need to delete all preferences in order to continue using the program (or figure out how dates are encrypted ;) ).

It has been said *many* times before, but let me anyway repeat that hidden files suck because many may discontinue to use your application and thus should not have to suffer from having hidden files installed -- if I look in ~/ (for hidden files), ~/Library/Application Support/ and similar places, I literally find hundreds of things placed there by applications I have only started once or twice.

Especially when the names doesn't give away what the hell it is, e.g. I have ~/.mycomputer/prefs.props.txt which amongst others contain: "#mycomputer preferences, do not delete". Now wtf is this? I don't recall every running anything named 'mycomputer'.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: 30 day trial howto? (From: Adam <email@hidden>)

  • Prev by Date: Re: Transparent Images on Buttons in Jaguar?
  • Next by Date: NSView selection range
  • Previous by thread: Re: 30 day trial howto?
  • Next by thread: Re: cocoa and database
  • Index(es):
    • Date
    • Thread