Internet Direct (Indy) Version 9.0.1 Beta
|
property AnonymousAccounts: TStringList;
AnonymousAccounts is initialized in the Create constructor, and contains the default values 'anonymous' and 'guest'. Note: By default, AllowAnonymousLogin is set to False in Create.
AnonymousAccounts is freed and released in the Destroy destructor.
AnonymousAccounts is used in the FTP USER command action handler, when the server handles the user name for the account provided in the TIdCommand instance triggering the command action handler. The USER command action handler compares the value found in the TIdFTPServerThread.UnparsedParams against AnonymousAccounts, and sets the UserType and Username for the associated Thread in ASender when the user account is found.
Note: AnonymousAccounts is not used to authenicate anonymous logins in the FTP server implementation when UserAccounts has not been assigned. In this situation, OnUserLogin is signalled to perfrom username and password authentication.