Copy link to clipboard
Copied
Hi All,
I am having a strange situation here, I want to change this property Pref_SCRIPTING_FILE_NETWORK_SECURITY Scripts buts its not allowing me. .
Can any one suggest that how it can be set using script.
Regards,
Manish R Gurnaney
Copy link to clipboard
Copied
The whole point of that preference is to stop scripts from having control over the file system unless the user specifically allows it. If scripts could give themselves permission it would make that preference redundant and effectively remove any security.
The best thing you can do is alert the user that they will need to set that pref. You can then use app.executeCommand(2359); to open the pref panel for them if you like.
Paul