• 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: dropping alias file on NSPathControl with App Sandbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: dropping alias file on NSPathControl with App Sandbox
      • From: Sean McBride <email@hidden>
References: 
 >dropping alias file on NSPathControl with App Sandbox (From: Sean McBride <email@hidden>)
 >Re: dropping alias file on NSPathControl with App Sandbox (From: Mike Abdullah <email@hidden>)
 >Re: dropping alias file on NSPathControl with App Sandbox (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: dropping alias file on NSPathControl with App Sandbox
  • Next by Date: Localising "dynamic" string resources in code
  • Previous by thread: Re: dropping alias file on NSPathControl with App Sandbox
  • Next by thread: Re: dropping alias file on NSPathControl with App Sandbox
  • Index(es):
    • Date
    • Thread