• 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: Sandboxing and file references
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sandboxing and file references


  • Subject: Re: Sandboxing and file references
  • From: Keith Duncan <email@hidden>
  • Date: Tue, 20 Sep 2011 22:56:10 +0100

On 20 Sep 2011, at 19:35, Jerry Krinock wrote:

> At first I was thinking that this would give my app a permanent entitlement to whatever URL was selected.  But what if the user restarts and clicks "Don't restore windows".  Wouldn't that break it?

Based on what I have been told and my own deductions, this is correct.

URLs stashed in the restore archives should be used for restore purposes only. Hijacking them to create persistent references across application launches risks losing that file reference. As with the rest of restore you must validate the restored state, ensuring your application is built defensively, and does not rely on any state being present.

As far as I know, applications which require persistent file references to offer their functionality (so long as that functionality doesn't conflict with the App Review Guidelines) will, at App Review's discretion, be permitted to use the absolute file access temporary exception as a temporary workaround. However, be sure to file a problem report so that you can cite a radar number.

Keith

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Sandboxing and file references (From: Peter N Lewis <email@hidden>)
 >Re: Sandboxing and file references (From: Tim Schröder <email@hidden>)
 >Re: Sandboxing and file references (From: Torsten Curdt <email@hidden>)
 >Re: Sandboxing and file references (From: Keith Duncan <email@hidden>)
 >Re: Sandboxing and file references (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Sandboxed app, PDEs and preferences
  • Next by Date: Telling apart different save panels
  • Previous by thread: Re: Sandboxing and file references
  • Next by thread: Re: Sandboxing and file references
  • Index(es):
    • Date
    • Thread