4 ms·
I think a better method is what Apple has done in OS X. When the app needs to read from or write to a user specified file, the app calls a specific API that pre
by kccqzy 11y ago
I think a better method is what Apple has done in OS X. When the app needs to read from or write to a user specified file, the app calls a specific API that presents a file picker dialog. The file picker dialog is running in a separate process from the sandboxed app, and the app will temporarily be granted permissions to access this particular chosen file through this API.