Re: dropping alias file on NSPathControl with App Sandbox
Re: dropping alias file on NSPathControl with App Sandbox
- Subject: Re: dropping alias file on NSPathControl with App Sandbox
- From: Mike Abdullah <email@hidden>
- Date: Wed, 10 Oct 2012 09:46:15 +0100
On 10 Oct 2012, at 00:16, Sean McBride <email@hidden> wrote:
> On Sat, 6 Oct 2012 10:59:46 +0100, Mike Abdullah said:
>
>> Sandboxed apps can resolve aliases and follow symlinks, but unless the
>> destination is within their sandbox already they do not gain access to
>> it, sadly. I recommend filing a radar requesting this.
>
> I will.
>
> Do you agree with me that pathControl:acceptDrop: should pass the resolved alias instead of the original? Or perhaps provide a setResolvesAliases: like NSOpenPanel does?
I don't know really. To resolve aliases properly would require it to be some sort of privileged UI component like NSOpenPanel. Or Apple would have to add a new entitlement for this, or adjust how the sandbox works. They all *work*, but the first option sucks for developers making other similar things.
_______________________________________________
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