On 18/07/2010, at 20:22, Kyle Sluder wrote:

> On Sun, Jul 18, 2010 at 3:42 AM, Darren Wheatley
> <dar...@tenjinconsulting.co.uk> wrote:
>> Can anyone give me a pointer on how to encrypt (and use) the data in the
>> Core Data sql store of my Mac desktop app? My application has a data store
>> that on its own has a value, and I would like to provide at least a basic
>> level of protection / deterrent before I release it.
>> 
>> I've Googled for this, and while I find lots of information on encrypting
>> Core Data stores for iPhone apps, I can't find a solution for Mac
>> applications.
> 
> The most direct analogue I would think would be to put the store on an
> encrypted disk image. Of course the volume will appear systemwide, but
> you could set appropriate read permissions on the disk image's
> contents.

You can use the options "-nobrowse -mountrandom" on hdiutil to avoid displaying 
the mounted image on Finder. Check the man page for some options.

:: marcelo.alves
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to