Re: OS X 10.8 Security & Applescripts - "unidentified developer"
Re: OS X 10.8 Security & Applescripts - "unidentified developer"
- Subject: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
- From: Shane Stanley <email@hidden>
- Date: Thu, 16 Aug 2012 11:12:51 +1000
On 15/08/2012, at 1:17 AM, Luther Fuller <email@hidden> wrote:
> According to all previous documentation, an application is SUPPOSED to write the preferences to the current users ~/Library/Preferences/ folder.
That's not strictly true. Previously, that is where they were always written, for sure. But developers have been told not to access these files directly, but rather to use specific APIs to get and set preferences.
> The preferences belong to the user, not the application.
Again, that's not really true. Although there have been lots of useful hacks that involve changing application preference files, they are just that: hacks. They have never been officially supported, and regularly get overtaken by changes in apps' behavior.
> Has sandboxing changed this ?
Sandboxed apps store their preferences in their own containers -- part of the point of sandboxing is that apps are restricted in where they can write files without asking the user's permission (eg, by the user expressly asking them to open a file, or using an open panel to direct where to save one).
But if you use the defaults command to read an app's preferences, it will find them for both sandboxed and non-sandboxed apps.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden