Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 16:15, Marshall Houskeeper mhouskee...@media100.com wrote: Our document file format currently stores file paths and file alias to external files. We can potentially have several thousand references to external files stored in a document. When we move to a sandbox

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 18:18, Sean McBride s...@rogue-research.com wrote: On Wed, 3 Oct 2012 11:15:48 -0400, Marshall Houskeeper said: Our document file format currently stores file paths and file alias to external files. We can potentially have several thousand references to external files

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 19:48, Sean McBride s...@rogue-research.com wrote: On Wed, 3 Oct 2012 11:38:10 -0700, Quincey Morris said: 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

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 21:34, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Oct 3, 2012, at 12:44 , Marshall Houskeeper mhouskee...@media100.com wrote: Our plan is to use Security-Scoped Bookmarks for all new documents to store external file references when we go to the

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 3 Oct 2012, at 22:02, Marshall Houskeeper mhouskee...@media100.com wrote: Hi Quincey, I have no problem with the use of the open panel ( security-scoped bookmark )for creating new documents. The problem is for pre sandboxed documents or documents that come from Windows. Having the

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Marshall Houskeeper
Hi Mike, Our products are a video/audio editor application and video effect plugins. In both cases, our file formats (data block for plugin data) can store many file references. Our files keep references to file types such as quicktime movies, audio files and text files as well as links

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-04 Thread Mike Abdullah
On 4 Oct 2012, at 20:18, Marshall Houskeeper mhouskee...@media100.com wrote: Hi Mike, Our products are a video/audio editor application and video effect plugins. In both cases, our file formats (data block for plugin data) can store many file references. Our files keep references to

Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Marshall Houskeeper
Our document file format currently stores file paths and file alias to external files. We can potentially have several thousand references to external files stored in a document. When we move to a sandbox environment, we will store Security-Scoped Bookmarks. What is the suggested method to

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Sean McBride
On Wed, 3 Oct 2012 11:15:48 -0400, Marshall Houskeeper said: Our document file format currently stores file paths and file alias to external files. We can potentially have several thousand references to external files stored in a document. When we move to a sandbox environment, we will store

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Charles Srstka
On Oct 3, 2012, at 12:18 PM, Sean McBride s...@rogue-research.com wrote: On Wed, 3 Oct 2012 11:15:48 -0400, Marshall Houskeeper said: Our document file format currently stores file paths and file alias to external files. We can potentially have several thousand references to external files

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Quincey Morris
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

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Sean McBride
On Wed, 3 Oct 2012 11:38:10 -0700, Quincey Morris said: 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. Which is of course

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Charles Srstka
On Oct 3, 2012, at 1:38 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: 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

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Marshall Houskeeper
Our plan is to use Security-Scoped Bookmarks for all new documents to store external file references when we go to the sandbox environment. In our use case, I would guess that none of the external referenced files would be stored in our sandbox. The problem that I have is opening old

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Quincey Morris
On Oct 3, 2012, at 12:44 , Marshall Houskeeper mhouskee...@media100.com wrote: Our plan is to use Security-Scoped Bookmarks for all new documents to store external file references when we go to the sandbox environment. In our use case, I would guess that none of the external referenced

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Marshall Houskeeper
Hi Quincey, I have no problem with the use of the open panel ( security-scoped bookmark )for creating new documents. The problem is for pre sandboxed documents or documents that come from Windows. Having the user re-authorize each external file would be very problematic and time consuming.

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Quincey Morris
On Oct 3, 2012, at 14:02 , Marshall Houskeeper mhouskee...@media100.com wrote: I have no problem with the use of the open panel ( security-scoped bookmark )for creating new documents. OK, understood. The problem is for pre sandboxed documents or documents that come from Windows. Having