Virtual Users Integration
Have zFTPServer integrate with any system for user authentication and configuration! With virtual script-based integration zFTPServer can connect to just about any data source (e.g. databases, management information systems, flat-files, …) to verify and configure accounts.
All you have to do is setup two access points; one for verifying that a user will be allowed access, and one that tells zFTPServer the user configuration (home directory structure, limitations, security settings, etc.).
This script (or program) is used to verify that a user is allowed to login. Your verification script can be supplied with any parameters you choose, but it’s recommended that you at least include the two tokens “%USERNAME%” and “%PASSWORD%” to properly verify the user. Then simply use the standard return value to indicate to zFTPServer if this particular user will be allowed access into your system; return value of 0 means access is granted, and any other value denies access.
This script (or program) is used to configure the user’s setup. Your configuration script can be supplied with any parameters you choose, but it’s recommended that you at least include the token “%USERNAME%” to properly know which user is requesting it’s configuration. Then simply return a complete user setup to standard out, specifying anything you need like home directory structure, speed- or login-limitations, special security settings, etc. just like a regular account setup file.