Enhancing Security

When you share a single physical server between many users, you consider all security aspects thoroughly. Although Panel provides an acceptable security level, there are suggested ways to improve it. This chapter provides instructions on protecting Panel server and hosted domains from unauthorized access.

In this chapter:

Restricting Script Execution in the /tmp Directory

Configuring Site Isolation Settings

Protecting from Running Tasks on Behalf of root

Restricting Script Execution in the /tmp Directory

To secure the Panel server, it is recommended to create /tmp as a separate partition and mount it with noexec and nosuid options. These options do the following:

To secure the /tmp partition of your Panel server:

Configuring Site Isolation Settings

Parallels Plesk Panel allows you to define non-secure settings for web hosting. You can do this if you have permission to override server-wide hosting security restrictions. If you do not have this permission, you can manage only options specified in the PRODUCT_ROOT_D/admin/conf/site_isolation_settings.ini file, where the $PRODUCT_ROOT_D is /usr/local/psa for RPM-based systems or /opt/psa on DEB-based systems..

The configuration file specifies the list of allowed values for hosting options:

[hosting]

;php = any

;php_handler_type = fastcgi

;python = off

;perl = off

;fastcgi = any

;miva = off

;ssi = any

;ssl = on

;shell = /usr/local/psa/bin/chrootsh

;asp = any

;php_safe_mode = on

;coldfusion = off

You can set the following options values:

In addition, there are the following restrictions for options values:

Protecting from Running Tasks on Behalf of root

By default, Parallels Plesk Panel allows utilities or scripts to be run on behalf of root in two cases:

This makes Panel server vulnerable to malicious software. To eliminate these vulnerabilities, create the following files and leave them empty:

The $PRODUCT_ROOT_D is /usr/local/psa for RPM-based systems or /opt/psa on DEB-based systems

Please send us your feedback on this help page.