Re: Applying iOS file protection to SQLite databases

2012-08-15 Thread Conrad Shultz
Jens, I vaguely recall this being covered in one of the 2010 or 2011 WWDC videos... title was something along the lines of "Securing iOS Data." Might be worth a look, but it looks like you found the major piece. (Sent from my iPhone.) -- Conrad Shultz On Aug 15, 2012, at 20:35, Jens Alfke

Re: Applying iOS file protection to SQLite databases

2012-08-15 Thread Jens Alfke
On Aug 15, 2012, at 4:16 PM, I wrote: > How can I enable full file protection (encryption) on iOS for SQLite > databases? To answer my own question: buried down inside I found the following flags that appear to have been added by Apple. There's no documentation of them, but I infer that you

Applying iOS file protection to SQLite databases

2012-08-15 Thread Jens Alfke
How can I enable full file protection (encryption) on iOS for SQLite databases? The obvious, easy part is setting the NSFileProtectionComplete attribute on the SQLite database file after it's first created. Presumably this attribute will stick, because I don't think SQLite every recreates the fi

Applying iOS file protection to SQLite databases

2012-08-15 Thread Jens Alfke
How can I enable full file protection (encryption) on iOS for SQLite databases? The obvious, easy part is setting the NSFileProtectionComplete attribute on the SQLite database file after it's first created. Presumably this attribute will stick, because I don't think SQLite every recreates the fi