Re: Sandbox Clarification
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