- Plesk Onyx for Windows
- Plesk 12.0 for Windows
- Plesk 12.5 for Windows
How to customize permissions for Plesk users by Disk Security.
For example, thee is an application installed into the folder
C:\Program Files\AppName. This module is used on customer's sites, but it does not work properly because Panel's default security rules prohibit customers from accessing arbitrary folders on the disk.
To customize disk security, create an additional file with the
.xml extension in the
%plesk_dir%\etc\DiskSecurity directory and specify additional security rules in the file. This will enable you to track changes and manipulate sets of security metadata easily.
<?xml version="1.0" encoding="utf-8" ?>
<Entry AccounType="1" Account="Psacln" Path="C:\Program Files\" SubPath="AppName" AceFlags="ThisFolderSubfoldersAndFiles" AccessMask="FullAccess" EntryFlags="0x0" />
<Entry AccounType="1" Account="Psaadm" Path="C:\Program Files\" SubPath="AppName" AceFlags="ThisFolderSubfoldersAndFiles" AccessMask="FullAccess" EntryFlags="0x0" />
Run the ApplySecurity.exe utility:
"%plesk_bin%"\ApplySecurity.exe --apply-to-directory --directory="C:\Program Files"
This file will be read during re-applying permissions by Plesk repair utility when it is either called directly from CLI or by Plesk Reconfigurator utility:
plesk repair --directory-permissions -directory "C:\Program Files"
Please refer to following Plesk documentation for more details: