Configuring Your FTP Server
Although the default configuration of the FTP server is reasonably secure, you can fine-tune access rights by editing the following files:
/etc/ftpaccess
/etc/ftpconversions
/etc/ftphosts
/var/log/xferlog
With all these files, you can control who connects to your server, when they can connect, and where they can connect from. For security, you can create an audit trail of what they do after connecting. The ftpaccess file is the most significant of these because it contains the most configuration options; however, misconfiguring any of the others can lead to denied service.
Tip
When editing any of the files in the /etc directory (FTP related or not), comment the file liberally and keep backups of original or previously ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access