On Oct 3, 2012, at 11:06 , Charles Srstka <cocoa...@charlessoft.com> wrote:

>  is there a way to just ask for permission to open a specific file and have a 
> "Cancel or allow" box come up

You can use the 'NSOpenSavePanelDelegate' protocol to validate whatever the 
user chooses, or you can just validate the returned URL when the open panel is 
completed. There's no way to tell the panel to freeze itself on a specific file.


On Oct 3, 2012, at 08:15 , Marshall Houskeeper <mhouskee...@media100.com> wrote:

> When we move to a sandbox environment, we will store Security-Scoped 
> Bookmarks.  


In the absence of further information, I don't see how this plan to store 
bookmarks is going to work. You can only create security-scoped bookmarks to 
items you have access to.

If an item is in your sandbox, you don't need the bookmark at all (for security 
reasons, anyway). If the item is *not* in your sandbox, then you're going to 
have to ask the user for access -- possibly thousands of times.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to