Custom changes to disk security metadata should not be applied to the
DiskSecurity.xml file itself. The disk security metadata can be
contained in multiple files. All disk security metadata do not have to
be contained only in the DiskSecurity.xml file. You can create any
number of additional disk security metadata files. To customize disk
security, you should create an additional file with the xml
extension in the %plesk_dir%etcDiskSecurity directory and specify
additional security rules in the file. This will enable you to track
changes and manipulate sets of security metadata easily.
To customize disk security rules in Plesk:
Log in as administrator to a Plesk-managed server over Remote
Desktop.Determine the Windows objects for which you want to set new
security rules.Open the
%plesk_dir%etcDiskSecurityfolder.In the folder, create a file with the
xmlextension. You can give this file any name.Create disk security rule entries in the file.
To do so, use the XML file editor of your choice and the references below.Disk security rule entries have the same format as hosting security rule entries.
To learn about the entry attributes in more detail,
refer to General Security Metadata Structure.
We also recommend that you see the example provided below.Once you have finished adding the security rules, save and close the file.
Run the
plesk repairutility with the
--directory-permissionscommand and the
-directory <path to the directory>option to apply the security
rules to Windows objects. For example, to apply the disk security
rules to theC:Tempdirectory run the following command:plesk repair --directory-permissions -directory C:…