• 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: Sandbox Clarification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sandbox Clarification


  • Subject: Re: Sandbox Clarification
  • From: Sean McBride <email@hidden>
  • Date: Wed, 30 Jan 2013 16:59:21 -0500
  • Organization: Rogue Research Inc.

On Wed, 30 Jan 2013 14:51:41 -0700, koko said:

>I have apps that need to browse the local file system and are therefore
>not Mac App store / Sandboxable.
>
>However, if I understand correctly, any file or folder that the user
>gives to the app via the open panel can be be used in a sand boxed
>environment … do I have this correct?
>
>So,  if I ask the user for files via the open panel, rather than just
>browsing for them, my app can use them ?

App Sandbox is configurable.  You can configure it to:
 - allow no file access at all
 - allow only files chosen from NSOpen/SavePanel (com.apple.security.files.user-selected.read-write)
 - allow specific paths (com.apple.security.temporary-exception.files.absolute-path.read-write)
 - allow full access (com.apple.security.temporary-exception.files.absolute-path.read-write with the path "/")

There are also readonly and readwrite varieties.

(As to what the store allows... I have no idea because I never touch the Walled Garden, but it's orthogonal to what App Sandbox supports.)

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: Sandbox Clarification
      • From: Mike Abdullah <email@hidden>
    • Re: Sandbox Clarification
      • From: Graham Cox <email@hidden>
References: 
 >Sandbox Clarification (From: koko <email@hidden>)

  • Prev by Date: Sandbox Clarification
  • Next by Date: Re: Getting file type from Save dlog
  • Previous by thread: Sandbox Clarification
  • Next by thread: Re: Sandbox Clarification
  • Index(es):
    • Date
    • Thread