sqlcipher

Securing Data in iOS

There are numerous ways to secure data that you are storing on an iOS device. The Simple/Built-in Way The simplest way is to take advantage of the iOS Data Protection (iOS 4+). This can be accomplished by setting an attribute on a file like this: [[NSFileManager defaultManager] createFileAtPath:[self filePath] contents:[@”super secret file contents” dataUsingEncoding:NSUTF8StringEncoding] attributes:[NSDictionary … Read More