All Products
Document Center

Harden FileZilla FTP Server

Last Updated: May 08, 2018

FileZilla is a free software, cross-platform FTP application, consisting of FileZilla Client and FileZilla Server. This article is written based on FileZilla Server version 0.9.59 to provide some effective security hardening solutions.

Note: Most of the following configurations are made at Edit > Settings > FileZilla Server Options in FileZilla Server.

Change admin password

By default, the server administrator password is empty. We recommend that you set a complex password (including at least two of the following types of characters: uppercase letters, lowercase letters, numbers, and special symbols).


Change custom welcome message

By default, the server version information is displayed in the welcome message when a client accesses an FTP server. If the server version information is hidden, it can increase the time cost for malicious attacks.

  1. Go to General settings > Welcome message.

  2. Remove the %v variable from the Custom welcome message input box on the right, or replace all the text with your own text.


  3. In addition, we recommend that you check the Hide welcome message in log option to reduce useless information in logs.

Enable FTP for only one address

We recommend that you enable FTP service for only one address. For example, when you only need to use the FTP service in the intranet, you must not enable the FTP service for the Internet address bound to the server.

  1. Go to General settings > IP Bindings.

  2. Change the default value (*) in the right window to a specified address (such as


Configure access control

We recommend that you use the global IP filter to restrict access.

  1. Go to General settings > IP Filters.

  2. Enter the IP addresses to be blocked in the upper-right window, and enter the allowed IP addresses in the lower-right window.

    Usually you can use the default value (*) to block all IP addresses, and then add a small number of IP addresses to allow access. For example, in the following figure, only the segment is allowed to access the FTP service.


In addition, FileZilla Server also supports user-level and user-group-level IP address filters.

  1. Go to Edit > Users/Groups, and open the corresponding settings page.

  2. Find IP Filters on the page, select the users, and then set the IP addresses to allow or deny access. The setting method is the same as that for the global IP filter.

Enable bounce attack protection

FTP Bounce attack is an attack that uses the FXP feature. Unfiltered PORT commands can be used for bounce attacks.

We recommend that you enable the bounce attack mitigation option. By doing this, FileZilla Server checks that the peer IP address of the data connection matches the peer IP of the control connection, disallowing the transfer on address mismatch. The control connection is set in Configure access control.

  1. Go to General settings > Security settings.

  2. For Protection level, check Require matching peer address of control and data connection.


Enable automatic bans

By default, the server disconnects from the client after user authentication fails for multiple times, but no strict policy exists. You can block a client IP address that has multiple failed logon attempts with the following settings to block further brute-force attempts.

  1. Go to Autoban.
  2. The settings in the following figure blocks the IP addresses after 10 consecutive logon attempt failures within one hour. The blocking time is one hour.


Use complex user passwords

FileZilla Server does not provide an option to set the password complexity, and its server users are added by the administrator through the management interface. Users cannot modify the password through the FTP command.

Therefore, we recommend that the administrator uses complex passwords when adding users.

Configure least privilege

FileZilla supports directory-level access permission settings. You can grant users the following permissions for a directory: (Files) Read, Write, Delete, and Add Files, and (Directories) Create, Delete, List, and Add Subdirectories.

We recommend that you assign the permissions for folders adhering to the principle of least privilege (POLP) to limit access to the minimal level that allows normal functioning.

Note: You must add an account and group first to perform the authorization operation.


Enable TLS encryption authentication

FileZilla Server supports TLS encryption. If you do not have a certificate, you can use the built-in certificate creation feature to create one.


In addition, you can enable force TLS encrypted access for user logon.


Enable logging

FileZilla Server does not enable the logging feature by default. To facilitate tracking various events, we recommend that you enable logging and use a different logfile each day to avoid a single file becoming too large.


In addition, check the Don’t show passwords in message log option in Miscellaneous to avoid password leaks.