I was just trying to read a local file with UXP Scripting in an InDesign Script. But I get a permission error which I partially understand (i.e. accessing files is now under restrictions). However UXP Scripting docs claim that files can be accessed "freely" in some specific folders (the plugin folder for example).
But no matter if I place the file to be read next to the idjs script, I can't pass through the permission error.
Has someone a clearer set of instructions for reading files when it comes to UXP Scripting and InDesign specifically?