[Sandbox]Question on Design Guide
[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