Class: PasswordPolicy

PasswordPolicy

Controls how users' passwords are dealt with. These settings are global and apply to all users on all related sites and servers.

Instances of this class should be obtained using Config.passwordPolicy.

Members

allowChange :Boolean

If enabled, non-Windows users can use the SITE command CPWD to change their password. SFTP also has a mechanism permitting the changing of a password (which must be supported by the SFTP client).

Type:
  • Boolean

minLength :Number

The minimum password length.

Type:
  • Number

mustHaveDigit :Boolean

If enabled, passwords must contain a digit.

Type:
  • Boolean

mustHaveMixedCase :Boolean

If enabled, passwords must be mixed-case.

Type:
  • Boolean

mustHaveSpecialChar :Boolean

If enabled, passwords must contain a special character.

Type:
  • Boolean

store :Boolean

If this option is enabled, passwords for non-Windows users will be stored in encrypted form. Note that Windows users do not have passwords stored by CompleteFTP in any way. Instead, standard Windows authentication is used.

Type:
  • Boolean