Is it safe to save things inside of /Users/<use...
# compose-desktop
s
Is it safe to save things inside of /Users/<user>/Library/Preferences ? It seems like any application can just create any file in this directory. Do we have any guarantees from Apple about the security of the files placed here from our application?
k
s
yes - that's what I am worried about, but storing in icloud / non-locally seems like a bad solution also. Is the idea that apps can just easily access other apps preferences?
Where would I store private data for the app?
k
My understanding is that it is mostly for protecting user data (contacts, photos, etc) from apps, not for protecting one app’s data from all the other apps.
m
If you opt in to the app sandbox then you can store files that are protected from other sandboxed apps but not other apps in general.
Otherwise you can use the macOS keystore