• 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: Suggestions for handling old document files with file paths in a sandbox environment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestions for handling old document files with file paths in a sandbox environment


  • Subject: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • From: Sean McBride <email@hidden>
  • Date: Wed, 03 Oct 2012 14:48:28 -0400
  • Organization: Rogue Research Inc.

On Wed, 3 Oct 2012 11:38:10 -0700, Quincey Morris said:

>If an item is in your sandbox, you don't need the bookmark at all (for
>security reasons, anyway). If the item is *not* in your sandbox, then
>you're going to have to ask the user for access -- possibly thousands of
>times.

Which is of course ridiculous.  Can you imagine Final Cut Pro or Xcode doing such a thing when opening their old documents?  Notice Apple hasn't sandboxed those applications?

My solution for now is:

<!-- Allows full access to filesystem, due to numerous difficulties with App Sandbox. <rdar://11616142> -->
<key>com.apple.security.temporary-exception.files.absolute-path.read-write</key>
<array>
	<string>/</string>
	<string>/Volumes/</string>
</array>

You still get some benefit from the sandbox (protection against network, USB, camera being compromised), but have full file system access.

If you care about App Store (I don't), they may not allow this.

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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


  • Follow-Ups:
    • Re: Suggestions for handling old document files with file paths in a sandbox environment
      • From: Mike Abdullah <email@hidden>
References: 
 >Suggestions for handling old document files with file paths in a sandbox environment (From: Marshall Houskeeper <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Sean McBride <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Charles Srstka <email@hidden>)
 >Re: Suggestions for handling old document files with file paths in a sandbox environment (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Next by Date: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Previous by thread: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Next by thread: Re: Suggestions for handling old document files with file paths in a sandbox environment
  • Index(es):
    • Date
    • Thread