• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

disable "override provider's policy"

HaukeW

Basic Pleskian
Hello,

I disabled "Setup of potentially insecure web scripting options that override provider's policy" in the Permission Section of the Service Plan.
Additionally I disabled "SSI support" in the "Hosting Parameters" Section.

But the User can login and change this setting in his interface!
How can I restrict the the access to some Web Scripting Features.


/usr/local/psa/admin/conf/site_isolation_settings.ini

;; The section describes allowed hosting options
[hosting]
php = any
php_handler_type = fastcgi
python = off
perl = any
fastcgi = any
miva = off
ssi = off
ssl = any
;shell = /usr/local/psa/bin/chrootsh
shell = off
asp = any
php_safe_mode = any
coldfusion = off
 
Ok when I change the Subscription, the user can't see the disabled Scripting languages but they are still available!

I test it with the Parallels Default Page, where I can open a Perl or SSI Testpage.
 
There is a config file (/usr/local/psa/admin/conf/stie_isolation_settings.ini)
There is a permission ("Allow to override server-wide hosting security restrictions")
Config file specifies the list of allowed values for hosting options.
If the user has no the permission, the user unable to set value that not allowed by config.
 
Like you see in my first post , I found this config file and it seems to work.
When I set "ssi = off and disable "Allow to override server-wide hosting security restrictions", the user can't see perl.

>Thats good<

But he can still use perl scripts! The perl Option is only hidden but not deactivated .
 
Ok found a solution but I dont like it very much. Is it a bug?

It seems that I must first enable "Setup of potentially insecure web scripting options that override provider's policy ",
then go the interface and disable "Perl",
then disable "Setup of potentially insecure web scripting options that override provider's policy " .

Now the User can't use Perl.
 
Back
Top