• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Hiding Directories

D

DARF@

Guest
Is there a way in Plesk to hide all the directories with the exception of httpdocs from users logging in via ftp?

or set it up that when they login via ftp they go straight into the httpdocs and cant go up a level.

Thanks
 
Around line 50 in /etc/proftpd.conf change:

<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

To:

<Directory /var/www/vhosts>
GroupOwner psacln
HideNoAccess On
HideUser root
</Directory>

This will hide the directories such as /etc, /var, etc.
 
Back
Top