• 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
[Sandbox]Question on Design Guide
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sandbox]Question on Design Guide


  • Subject: [Sandbox]Question on Design Guide
  • From: Yingshen Yu <email@hidden>
  • Date: Fri, 04 May 2012 07:39:42 +0800

Hi,

In Apple's App Sandbox Design Guide,  Powerbox and File System Access Outside of Your Container section,
there's a paragraph.

<Quote>
When a user of your app specifies they want to use file or a folder, Powerbox adds the associated path to your app’s sandbox. Say, for example, a user specifies they want to use a file within their ~/Documents folder by dragging the file to your app’s Dock tile. In response, Powerbox makes the ~/Documents folder, all its contents, and all its subfolders available to your app.
</Quote>

Has anybody found the entire ~/Documents folder available thing working?

I doubt if this is correct. I tested with a slightly different workflow by open the file from File Open Panel, but it only allows me access the selected file.  Is this behavior only apply for Drag and Drop? or I need some other work to get this behavior?  (I've already enabled the "com.apple.security.files.user-selected.read-write").

App Sandbox Design Guide:
(http://developer.apple.com/library/mac/#documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW17)

Thanks!
-Jonny

_______________________________________________

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


  • Prev by Date: Re: how to prevent TableView update on key repeat?
  • Next by Date: Re: No validation with a bound NSTableView and custom NSFormatter
  • Previous by thread: Re: Xcode warns about missing protocol definition, even though @protocol is used
  • Next by thread: Core Data: Setting attribute of deleted object causes it to remain in store
  • Index(es):
    • Date
    • Thread