Re: Sandbox - Security Scoped URLs (10.7.3)

2012-02-16 Thread Sean McBride
On Wed, 15 Feb 2012 11:33:53 -0800, Seth Willits said: On Feb 15, 2012, at 5:49 AM, Kyle Sluder wrote: So 10.7.3 added URLs you can restore in a sandboxed process after relaunch (AKA, needed by tons of apps that will be sandboxed), but I can't get them to work.

Re: Sandbox - Security Scoped URLs (10.7.3)

2012-02-16 Thread Seth Willits
On Feb 16, 2012, at 8:57 AM, Sean McBride wrote: It looks like good progress, and is now documented here: https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/Reference/Reference.html But I still don't see how something like Xcode could be

Re: Sandbox - Security Scoped URLs (10.7.3)

2012-02-16 Thread Seth Willits
On Feb 16, 2012, at 7:17 PM, Seth Willits wrote: Simply put, I don't think bookmarks can do what relative file paths could before. That's even before security gets involved. Given that the sandbox requires using URL bookmarks, and bookmarks can't resolve relative paths like this, it seems

Re: Sandbox - Security Scoped URLs (10.7.3)

2012-02-15 Thread Kyle Sluder
On Feb 14, 2012, at 11:13 PM, Seth Willits sli...@araelium.com wrote: So 10.7.3 added URLs you can restore in a sandboxed process after relaunch (AKA, needed by tons of apps that will be sandboxed), but I can't get them to work. http://www.opensource.apple.com/source/CF/CF-635.19/CFURL.h

Re: Sandbox - Security Scoped URLs (10.7.3)

2012-02-15 Thread Mike Abdullah
On 15 Feb 2012, at 07:13, Seth Willits wrote: So 10.7.3 added URLs you can restore in a sandboxed process after relaunch (AKA, needed by tons of apps that will be sandboxed), but I can't get them to work. http://www.opensource.apple.com/source/CF/CF-635.19/CFURL.h Whenever I try to

Re: Sandbox - Security Scoped URLs (10.7.3)

2012-02-15 Thread Seth Willits
On Feb 15, 2012, at 5:49 AM, Kyle Sluder wrote: So 10.7.3 added URLs you can restore in a sandboxed process after relaunch (AKA, needed by tons of apps that will be sandboxed), but I can't get them to work. http://www.opensource.apple.com/source/CF/CF-635.19/CFURL.h Whenever I try to

Sandbox - Security Scoped URLs (10.7.3)

2012-02-14 Thread Seth Willits
So 10.7.3 added URLs you can restore in a sandboxed process after relaunch (AKA, needed by tons of apps that will be sandboxed), but I can't get them to work. http://www.opensource.apple.com/source/CF/CF-635.19/CFURL.h Whenever I try to create bookmark data with CFURLCreateBookmarkData passing