Type Property

none

The file has no special protections associated with it.

Declaration

static let none: URLFileProtection

Discussion

A file with this type of protection can be read from or written to at any time.

See Also

Protection Levels

static let complete: URLFileProtection

The file is stored in an encrypted format on disk and cannot be read from or written to while the device is locked or booting.

static let completeUnlessOpen: URLFileProtection

The file is stored in an encrypted format on disk after it is closed.

static let completeUntilFirstUserAuthentication: URLFileProtection

The file is stored in an encrypted format on disk and cannot be accessed until after the device has booted.