• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS on-disk file encryption questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iOS on-disk file encryption questions


  • Subject: iOS on-disk file encryption questions
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 22 Dec 2011 16:52:33 -0800

There’s a brief description in the iOS docs of "Protecting Data Using On-Disk Encryption”. Unfortunately there’s no description of how the file encryption actually happens, so I’m unsure whether it’s suitable for use with database files that can grow large, are updated incrementally, and are accessed using low-level read/write calls instead of Cocoa APIs.

Basically there are two ways I can think of this being implemented:
(1) Encrypt individual blocks of the file as they’re written/read, and do the encryption at the filesystem level, beneath the read/write system calls.
or
(2) Decrypt the entire file into RAM when it’s opened, and write it back encrypted when it’s closed.

Approach (1) will work great with things like sqlite or CouchDB. Approach (2) definitely won’t.

Anyone know for sure, or have experience using this feature with structured files?

Also, anyone know what the name of the underlying extended attribute is, so I can set it from C code?

—Jens

_______________________________________________

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

  • Prev by Date: Re: How to get the phone number use ios sdk in iphone.
  • Next by Date: Re: How to get the phone number use ios sdk in iphone.
  • Previous by thread: Re: NSDocument leak with top-of-NIB object controllers (10.6 ARC)
  • Next by thread: Core Audio Help
  • Index(es):
    • Date
    • Thread