• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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