Transferring data from one device to another device

Hi

I want to prevent files stored in my apps applicationSupportDirectory from being transferred when a user sets up a new device. Is there any guidance, an event to subscribe to that can be implemented to handle this?

Thanks

I want to prevent files stored in my apps applicationSupportDirectory
from being transferred when a user sets up a new device.

On what platform?

And what’s your reason for this? For security reasons (you don’t want the files escaping from the original device)? Or because of the storage impact? Or migration time impact?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Hi Quinn
It's more a security reason not allow files escaping the from the original device.
And the platform?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"

It's more a security reason not allowing files escaping the original device.

How strict is that requirement?

If you really don’t want a file to escape this device then a good option is to encrypt the file with a random key and then store that in the keychain with kSecAttrAccessible set to one of the TheDeviceOnly values.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Transferring data from one device to another device
 
 
Q