Why would someone want to base their application on the tenuous availability of 
a temporary exception ?

Jim Merkel

On Nov 1, 2011, at 10:30 AM, Laurent Etiemble wrote:

> Hello,
> 
> In a sandboxed application, you can read/write files without the save dialog 
> by using the "File Access Temporary Exceptions" (cf. 
> http://developer.apple.com/library/mac/#documentation/Miscellaneous/Reference/EntitlementKeyReference/AppSandboxTemporaryExceptionEntitlements/AppSandboxTemporaryExceptionEntitlements.html).
>  These keys describe the folders in which you want to read/write files, 
> either relative to user home folder or absolute.
> 
> Here is an example to read any files inside the /Users folder:
> 
>       
> <key>com.apple.security.temporary-exception.files.absolute-path.read-only</key>
>       <array>
>               <string>/Users/</string>
>       </array>
> 
> Here is an example to read and write any files inside the user home:
> 
>       
> <key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>
>       <array>
>               <string>/</string>
>       </array>
> 
> Regards, Laurent Etiemble.
> 
> 2011/10/31 James Merkel <jmerk...@mac.com>
> Reading the sandboxing documents, it looks like in order to write to a file 
> you need to use the save dialog.
> My app updates files without the save dialog.
> Will that be permitted in a sandboxed app ?
> 
> Jim Merkel
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/laurent.etiemble%40gmail.com
> 
> This email sent to laurent.etiem...@gmail.com
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to