How to customize permissions for plesk users by "Disk Security"

Refers to:

  • Plesk Onyx for Windows
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 12:46:24 UTC

Modified:

2016-12-21 19:10:42 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to customize permissions for plesk users by "Disk Security"

Question

How to customize permissions for Plesk users by "Disk Security".

For example, you have 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 resolve this, you can create a file named AppName.xml, add your security rules as described further, and place the file into the directory %plesk_dir%\\etc\\DiskSecurity .

Answer

To customize disk security, you should 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.

For example:

  1. Create file permissions.xml in %plesk_dir%\\etc\\DiskSecurity\\

    <?xml version="1.0" encoding="utf-8" ?>

    <Entries>

    <Entry AccounType="1" Account="Psacln" Path="C:\\Documents and Settings\\" SubPath="AppName" AceFlags="ThisFolderSubfoldersAndFiles" AccessMask="FullAccess" EntryFlags="0x0" />

    <Entry AccounType="1" Account="Psaadm" Path="C:\\Documents and Settings\\" SubPath="AppName" AceFlags="ThisFolderSubfoldersAndFiles" AccessMask="FullAccess" EntryFlags="0x0" />

    </Entries>
  2. Run the ApplySecurity.exe utility:

    "%plesk_bin%"\\ApplySecurity.exe --apply-to-directory --directory="C:\\Documents and Settings"

Please refer to following Plesk documentation regarding Customizing Disk Security for more details:

Customizing Disk Security

Have more questions? Submit a request
Please sign in to leave a comment.