The following rule sets access rights to files in the
error_docs folder on domain
example.com for the Windows user account named
Security rule entry
Note: When entry flag
0x80 is included in a security rule entry, the path to the objects defined by the
SubPath attribute must include a file mask. This example uses file mask
Because the name
domainuser1 is not a standard system account name, it has to be resolved in the system (hence,
AccounType="1"). The optional
SidStr attribute is defined to improve Plesk stability. The
HTTPD_VHOSTS_D component path in the
Path attribute specifies the common part of the path to the domain root folder where the
example.com folder is located. The
SubPath attribute completes the path to the
error_docs folder to which the rule will be applied.
AceFlags="FilesOnly" specifies that, according to this rule, an ACE with permission defined by
AccessMask="ReadWrite" will be created and added only to the
error_docs folder and all files contained within that folder. However,
EntryFlags="0x80" further restricts the ACE creation only to the files within the folder, excluding the
error_docs folder from this rule.
Tag="DomainUser" designates the security rule as pertaining to a domain hosting account and is used by Plesk to properly organize the processing of security metadata.