Internet Direct (Indy) Version 9.0.2 Beta
TIdFTPServer.AnonymousPassStrictCheck
Indicates that passwords for anonymous accounts must contain a valid email address.

property AnonymousPassStrictCheck: Boolean;
Description
AnonymousPassStrictCheck is a Boolean property that indicates if passwords for anonymous user accounts require validation to insure that the password contains a valid email address. AnonymousPassStrictCheck is used in the FTP PASS command event handler when the client connection thread contains the value utAnonymousUser in TIdFTPServerThread.UserType.

When AnonymousPassStrictCheck check is True, and the password for the client connection is not blank, the password is checked to insure that the value contains an RFC-compliant email address. When the password is valid, the authentication status in TIdFTPServerThread.Authenticated is set to True.

When the password is blank for the anonymous account, UserType and Authenticated properties in the threaded client connection are reverted to their unauthenticated values.

The default value for AnonymousPassStrictCheck is True, as assigned in the Create constructor.