Re: Encrypting data in a Core Data SQL store for a Mac desktop app
Re: Encrypting data in a Core Data SQL store for a Mac desktop app
- Subject: Re: Encrypting data in a Core Data SQL store for a Mac desktop app
- From: Marcelo Alves <email@hidden>
- Date: Sun, 18 Jul 2010 22:08:09 -0300
On 18/07/2010, at 20:22, Kyle Sluder wrote:
> On Sun, Jul 18, 2010 at 3:42 AM, Darren Wheatley
> <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden