• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OS X 10.8 Security & Applescripts - "unidentified developer"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: OS X 10.8 Security & Applescripts - "unidentified developer" (From: "John C. Welch" <email@hidden>)
 >Re: OS X 10.8 Security & Applescripts - "unidentified developer" (From: Todd V <email@hidden>)
 >Re: OS X 10.8 Security & Applescripts - "unidentified developer" (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Next by Date: Re: Mailing list errors?
  • Previous by thread: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Next by thread: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Index(es):
    • Date
    • Thread