I am creating a mac application that encrypts a file. Now that the user is ready to open the file, I have to decrypt it and transfer it to the application, say, a preview in this case.
What is the best approach for this? Should I decrypt the file to a folder and send this place for preview? Is this the best approach, can I make any file permissions for other applications or processes, do not access this file?
source share