'NSIS - Restrict permissions of $PLUGINSDIR
The $PLUGINSDIR folder created by NSIS inherits the parent folder's permissions. This means (at least on my system) full control for SYSTEM, Administrators and the user. I'd like to remove the write access for the user to protect the libraries, which are copied to the folder and then loaded during installation. Is it possible to do it somehow?
Solution 1:[1]
$pluginsdir is restricted (only BUILTIN\Administrators can write) when the installer runs elevated.
Use the Access control plug-in if you need a custom ACL.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Anders |
