From the course: iOS Development: Security

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

File data protection overview

File data protection overview - iOS Tutorial

From the course: iOS Development: Security

Start my 1-month free trial

File data protection overview

- [Instructor] The keychain is not an option if we need to store larger chunks of sensitive data. So let's explore some other options for securing our application's information. Apple's data protection technology is a convenient way to secure the data stored in the flash memory. The encryption is performed at the hardware level, and it's entirely transparent to the user. The files appear to be unencrypted when the device is unlocked. You can handle them as if they were ordinary files. However, the data can't be accessed if somebody tries to read them from the flash drive directly. That is, data protection ensures that sensitive data can't be extracted from a password-protected device's storage. We don't even need to enable data protection explicitly. Starting with iOS 7, all the application's files are encrypted automatically. The default is file protection complete until first user authentication. This means that the files are not accessible until the user unlocks the device for the…

Contents