small medium large xlarge

13 Jan 2017, 16:09
Harsha Vardhan Hajjalara Narasimha Murthy (2 posts)

Hi Marcus,

I am working on a Medical app and i am not sure whether to use Coredata for storing patient sensitive information.

Because of the penetration testing done recently, eventhough there are Data protection classes, are there any alternate approaches to store data securely.

Thanks, Harsha

13 Jan 2017, 21:46
Marcus S. Zarra (284 posts)

There are a few options:

  1. encrypt the data inside of Core Data’s sort which will block searching. If you do this, best to only encrypt what absolutely needs to be encrypted.
  2. encrypt the db on disk on exit and unencrypted on launch. Challenging if your app crashes

I am surprised that using the built in encryption options which are file level are not sufficient.

You must be logged in to comment