*This directory should never contain any kind of user data.*
But is a license userdata, and it is sort of mandatory, because user
wont be able to run program without a license.
and is it ok to put a Preferences file in ~home/Library/
Preferences ,when it isnt a .plist file but my own preferences format
First: user data is considered the user's work, not license data,
after all, the user doesn't create the license, but the software
author. As such it's a user specific customization of the code, or for
that matter an "extra resource used by the application". Obviously
it's not a regular resource, hence the license part, and the "required
for it to operate" part is debatable.
Even Apple puts licenses for their ProApps into the /Library/
Application Support/ProApps/ folder. Note, however, that this is /
Library and not ~/Library
Second, there should never be the need for a proprietary Preferences
format. If you absolutely need something the user should not be able
to read, then you can have a key with a DATA value, and that in turn
can be an encrypted BLOB of whatever it is you want to store there.
The result however, is still a valid preferences file, it will just
contain something like a "privateLicenseData" key, with BLOB data,
which can't be further parsed.
So my POV: best, make it part of your App's preferences, and encrypt
it. If you can't work with the standard preferences file because of
how your licensing scheme works, then stick the file into the
appropriate folder in /Library/Application Support/...
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden