• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Images to subdomain - "write" to be restricted from specific ip.

Sameer Sam

New Pleskian
Server operating system version
Debian 12
Plesk version and microupdate number
18.0.56
I am uploading images to sub-domain. Just found out that any one can upload images to my sub-domain. (sub.example.com)
The images are publicly available.

I am just asking if there is way to restrict ip from plesk firewall or nginx/apache additional setting. Not restrict the access but just only restrict the "write"
 
I assume that the upload is done through a CMS plugin. It is not possible to restrict an IP address to not allow uploads by a server setting, but it is possible to implement a few lines of code in the script that allows the upload to check the IP address of the requestor and only allow uploads from whitelisted ips. How and where to do it depends entirely on the script that is being used.
 
Peter Debik. You the Man. I appreciate your prompt reply. As per your suggestion, I can solve the problem now. Thank very much.
 
Back
Top