How to configure FTP server to hide folders

It is better to hide tmp/usr/lib/var folders via the conf file (when accessing ftp). So that these folders will not be accessed by the users.

If it is proftpd, find out the proftpd.conf

Add the following to the proftpd.conf file:

<Directory ~>
HideGroup wheel
</Directory>
<Directory ~>
HideNoAccess yes
</Directory>

Enter the directory path near to “<Directory >”, like “<Directory /var/www/vhosts/domainName/httpdocs/folder>” .

After modification, restart the FTP.

Slash AWS Costs, Not Performance – Let Us Optimize Your Cloud!

Migrate to AWS seamlessly with zero business disruption. We handle setup, cost audits, and round-the-clock support—so you save time and money. Unlock your cloud potential now!

Scroll to Top