• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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