On Apr 15, 2010, at 7:02 AM, nimblehost wrote: > Everything works flawlessly, but I realized I need some way to save a user's > registration info (or, at the very least, remember that it's been properly > activated).
Don’t just store a flag saying that it’s been activated. That throws away all of the lovely cryptographic fake-license resistance for very simple fake-flag attacks. > My first inclination is to make a copy of their license file into some sort > of preferences folder, and then refer to it on launch as needed - but I'm > wondering if there's an easier/better way to go about doing this. Not the Preferences folder, you’d want the Application Support folder. But that’s certainly one common way of doing it, the other way being to just throw the file data into NSUserDefaults. (I promise, once I get my current opus shipped and can see the light of day again, I’ll get around to updating the old Aquatic Prime documentation and try to address questions like these. If anybody has suggestions for additional topics to cover, feel free to note them on the wiki: http://wiki.github.com/bdrister/AquaticPrime/documentation-wishlist) Best, br -- Benjamin Rister President, Decimus Software, Inc. http://decimus.net/ ------------------------------------ MacSB email guidelines: http://tinyurl.com/2g55d6 Use MacSB-Talk for off topic messages: http://groups.google.com/group/macsb-talk Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/macsb/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/macsb/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
