Plesk for Windows
kb: how-to
Plesk for Linux
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to disable or restrict Plesk XML API?
Answer
It's possible to disable completely the XML API or allow operations only from trusted IP addresses.
To do so, add the following entries to the panel.ini file.
-
To prohibit all connections via XML API:
CONFIG_TEXT: [api]
enabled = off -
To allow connections via XML API only from specific IP addresses:
CONFIG_TEXT: [api]
allowedIPs = 203.0.113.2,192.0.2.2Where the
allowedIPs
setting accepts one or more IP addresses separated by commas or whitespace( )
characters.
Comments
0 comments
Please sign in to leave a comment.