1. If you don't have the data protection entitlement on for your AppID, does this mean that adding NSDataWritingFileProtectionComplete to your code will not provide any protection?No. The entitlement sets the default value for your container, and hence for anything created within your container. You can always override that default programmatically (via NSDataWritingFileProtectionComplete or any of the other data protection APIs). 2. If you do have the data protection entitlement enabled in your AppID, and you have set that entitlement to Protected Until First User Authentication, is this the default level of protection?Yes, but see below.Can you still choose a higher level of data protection like NSDataWritingFileProtectionComplete for particular files?Yes.Be aware that the definition of default is more subtle than you might think. By default the data protection value is inherited from the parent directory when you create an item. For example, if you have a directory set to NSFileProtectionComplete,
Topic:
App & System Services
SubTopic:
General
Tags: