Reading the files directly by loading them into memory, instead of downloading the file physically.

below is the scenario... I've created a local server that'll serve me files from the system which is encrypted by a key. When i try to read the File from the server , it'll decrypt and open the file.

This all is working fine in other OS systems like Windows and archLinux using Fuse and similar alternatives.

Now when I'm implementing the same in macOS using File Provider. I found out that Its making a local copy which is decrypted and then opening the file (fetchContents()). This is basically breaking the whole point of the project.

Is there a way to not download this file and Open directly from memory instead ?

(apologies if the issue was not explained correctly or was not worth mentioning, I'm still new to macOS development)

Reading the files directly by loading them into memory, instead of downloading the file physically.
 
 
Q