mercredi 22 avril 2015

How to use Data Protection with Core Data?

I'm developing an iOS 7 and above app that uses Core Data, and I was given the requirement of encrypting the persisted data. I'm using an SQLite database behind the scenes.

I've been reading about Data Protection feature in iOS Technology Overview and App Programming Guide for iOS, but I'm not sure if it can be used with Core Data to encrypt the SQLite file... can it? How?

If using Data Protection with Core Data is possible, would that meet the requirement of encrypting the stored data? I mean, would it be enough? I've also found that there are some third-parties dealing with SQLite data encryption such as SQLCipher. Should I integrate one of this kind of third-parties?

Thanks in advance

Aucun commentaire:

Enregistrer un commentaire