Re: Best place to hide license files (was Re: [now OT] Licensing/Implementing in Cocoa/Obj-C - Interest in product?)
Re: Best place to hide license files (was Re: [now OT] Licensing/Implementing in Cocoa/Obj-C - Interest in product?)
- Subject: Re: Best place to hide license files (was Re: [now OT] Licensing/Implementing in Cocoa/Obj-C - Interest in product?)
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 16 Apr 2004 17:51:01 +0200
On 16 avr. 2004, at 17:06, M. Uli Kusterer wrote:
At 13:54 Uhr +0200 16.04.2004, Stiphane Sudre wrote:
On 16 avr. 2004, at 13:29, M. Uli Kusterer wrote:
BTW -- anybody have a good idea where to put the "counter" or
"expiry date" files for such a scheme on OS X? In OS 9 we used to
just create invisible files at the root level of the hard disk
(can't use "Preferences" or "Application Support/MyApp", that'd be
too obvious).
One idea could be not to make them invisible, but to make them
visible yet not distinguishable.
You mean like, have three "MyApp Preferences" files in ~/Library
Preferences/, duplicating the data in there, and having one of them be
queried for the actual licensing info, and using the other three for
sanity checks?
[...]
Of course, one could go the route that virus back then did and name
it something like an Apple file. ".DS_Store " (with the space to avoid
stepping on the Finder's toes) or whatever, or
"com.apple.holdsemfromfluppin.plist", or whatever.
This one.
A myapplication.keychain file in the Keychains folder.
Another solution would be to save it in the Resource Fork of the
defaults.
_______________________________________________
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.