User Manager | ![]() |
by Rana Bhattacharyya
User Manager
The default user manager is properties file based. All the user informations (login, password, home directory, upload/download rate etc.) are stored in user.properties file. The default user manager class is org.apache.ftpserver.usermanager.PropertiesUserManager If you want to use different user manager, please change the user-manager block in assembly.xml file.
You can encrypt the password in properties based user manager by specifying encrypt key in config.xml file. The encryption algorithm is MD5.
If you are using property file based default user manager, make sure that the user properties file is not accesible by the FTP users. Otherwise it will be a security problem. Keep it below the user virtual root directory.
You can change the default user manager or even write your own user manager by implementating org.apache.ftpserver.usermanager.UserManagerInterface class. You have to specify your user manager class (fully qualified) in the assembly file too.


