Re: Sandboxing not so bad
Re: Sandboxing not so bad
- Subject: Re: Sandboxing not so bad
- From: Graham Cox <email@hidden>
- Date: Fri, 14 Sep 2012 08:53:02 +1000
On 14/09/2012, at 5:45 AM, James Merkel <email@hidden> wrote:
> So unless I'm missing something, sandboxing is a piece of cake.
Congratulations, your app uses the file system in a simple way, and in the way that was largely anticipated by the sandboxing design.
It's when you have slightly unusual requirements that things get tricky. If you want to retain access to a file you opened across relaunches of your app, sandboxing will prevent that without special steps being taken. If you want to use the Save dialog to save a file WITHIN your sandbox, you can't. If you need access to files whose paths or URLs you create programmatically (e.g. you select a file.foo but it has a counterpart file.bar that you also need to access) you can't...
These are the sorts of issues that have caused so much grief, not the simple ones you mention.
--Graham
_______________________________________________
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