[Sandbox]Question on Design Guide

  • 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/A
    ppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/d
    oc/uid/TP40011183-CH3-SW17
    )

    Thanks!
    -Jonny
previous month may 2012 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today