Saving license files

Chad Armstrong edenwaith at mac.com
Wed Dec 19 19:25:41 PST 2007


Hello:

I'm currently trying to implement a licensing solution into one of my  
applications, and I have some questions about certain implementation  
and the best way to store the license information.

During the day I work with a number of computers (Windows and Macs),  
which includes installing and configuring software.  In the Windows  
world, it generally seems that once a piece of software has been  
installed and registered on a machine, anyone can launch the program.

However, on the Mac-side of things, I've been noticing that not all  
programs work this way, and they will only be registered for the one  
user who entered in the registration info.  This is not for all  
applications, though.

Any suggestions on what would be a good method on saving license/ 
registration info?  I'm leaning towards saving a license file in / 
Library/Application Support/MyProduct/.  Can anyone (including  
Standard users) save to that location, or should there be a back-up  
method that should just save a copy to their Home ~/Library/ 
Application Support/MyProduct/, just in case?

Granted, I imagine that a lot of computers have just one user, but in  
some cases (say, a family computer where each person has their own  
account), there might be multiple users, and each person might want to  
use a particular application, but it can get pretty annoying after  
awhile to have to register the application for each and every user.

Regards,

Chad Armstrong


More information about the MacOSX-dev mailing list