I understand that the sandbox was introduced in Mac OS X Lion (10.7), but temporary exception exceptions, in particular com.apple.security.temporary-exception.files.home-relative-path.read-write, were introduced later Update 10.7 .x (which one?)
Similar bookmarks with a security area were introduced in 10.7.3.
My Mac application (not currently isolated) is a document-based application that creates documents that link to images on Mac users. When a user uses some images in his document, we simply save the path (for example, / Users / myname / Desktop / pic.jpg) of the image used in this document. When the user leaves the application and opens the saved document again, our application can simply access the image using the path from the document. Since our application is not isolated, it works in all versions 10.6.x, 10.7.x and 10.8.x
Now we would like to add our application to the sandbox and make sure that it continues to work on all versions (10.6.x, 10.7.x and 10.8.x) of Mac OS X. For this, we will
Ask for a temporary exception, in particular com.apple.security.temporary-exception.files.absolute-path.read-write, and this will allow random access to files for 10.7.3 onwards. But what do we do for 10.7, 10.7.1 and 10.7.2?
In addition to 10.7.3, we will start using bookmarks with security protection.
source share