Type Alias

NSURLFileProtectionType

Protection level values that can be associated with a URL resource key.

Declaration

typedef NSString *NSURLFileProtectionType;

Discussion

These values can be associated with the NSURLFileProtectionKey key.

Topics

Protection Levels

NSURLFileProtectionComplete

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.

NSURLFileProtectionCompleteUnlessOpen

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

NSURLFileProtectionCompleteUntilFirstUserAuthentication

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

NSURLFileProtectionNone

The file has no special protections associated with it.

See Also

Supporting Types

NSDirectoryEnumerationOptions

Options for enumerating the contents of directories.

NSSearchPathDirectory

The location of significant directories.

NSSearchPathDomainMask

Domain constants specifying base locations to use when you search for significant directories.

NSFileAttributeKey

Keys in dictionaries used to get and set file attributes.

NSFileAttributeType

Values representing a file’s type attribute.

NSFileProtectionType

Protection level values that can be associated with a file attribute key.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software