Home / Software / How to disable hidden files in ProFTPD

How to disable hidden files in ProFTPD

FTP Hidden Files
Question: How do I disable the viewing of hidden files in ProFTPD so that my clients can’t see them?

Answer: It is fairly easy to conceal hidden files in ProFTPD, but before you do, you should be aware of the consequences. Users will not be able to see their own .htaccess and .htpasswd files, which may be necessary if they install content management systems or want to enable any number of other Apache features.

If you insist on proceeding despite the consequences, open your /etc/proftpd.conf file and edit the following line:

IgnoreHidden on

With this feature turned on, ProFTPD will ignore any hidden files completely. Most will find the price of hiding .htaccess from users too great, and there truthfully is no harm in having users see their hidden files, provided you have properly chrooted their accounts. Furthermore, if the hidden files bother users, they can disable viewing them in their FTP clients.

Source: webhostingtalk.com

Check Also

Uk data center

Professional Data Centres In The UK

A professional data centre is a location in which various pieces of hardware are located …