Read/write from/to local storage in a DAL plugin

I have a virtual camera (DAL plugin) and I need to read and write an ini file (the ini file may be updated by another application).

If I save an ini file manually at /Library/CoreMediaIO/Plug-Ins/DAL/ I can read it.

But when I try to write to a file I get an error because the writing is done from the process of the application that is using the virtual webcam which cannot write to /Library/CoreMediaIO/Plug-Ins/DAL/

Making a setting app to write a new ini file is not helpful because the plugin cannot read from other places (unless I am missing something).

Is there any thing I am missing? Is there any macOS storage method other than files to write and read from?

DAL plugins run in-process. The application hosting them has to opt in to loading untrusted code. Your plugin has all the permissions of the hosting application. Your plugin should be able to read from wherever the hosting app can read.

Well the problem is that I do not know which hosting app will use my plugin. It can be my app but it can also be Zoom, Google Meet, Teams, etc.. An ini file should be at a known place.

Read/write from/to local storage in a DAL plugin
 
 
Q