Config2_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 are obtained from:

Properties

PropertyTypeDescription
allowChange Boolean

If enabled, non-Windows users can use the SITE command CPWD to change their password.

denyAccessAfterDays Number

Deny access after this many days without password change (null = no denial).

minLength Number

The minimum password length.

mustHaveDigit Boolean

If enabled, passwords must contain a digit.

mustHaveMixedCase Boolean

If enabled, passwords must be mixed-case.

mustHaveSpecialChar Boolean

If enabled, passwords must contain a special character.

requireChangeAfterDays Number

Require password change after this many days (null = no requirement).

store Boolean

If this option is enabled, passwords for non-Windows users will be stored in encrypted form.

Property Details

allowChange :Boolean

Description:
  • 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).

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

denyAccessAfterDays :Number|null

Description:
  • Deny access after this many days without password change (null = no denial).

Deny access after this many days without password change (null = no denial).

Type:
  • Number | null

minLength :Number

Description:
  • The minimum password length.

The minimum password length.

Type:
  • Number

mustHaveDigit :Boolean

Description:
  • If enabled, passwords must contain a digit.

If enabled, passwords must contain a digit.

Type:
  • Boolean

mustHaveMixedCase :Boolean

Description:
  • If enabled, passwords must be mixed-case.

If enabled, passwords must be mixed-case.

Type:
  • Boolean

mustHaveSpecialChar :Boolean

Description:
  • If enabled, passwords must contain a special character.

If enabled, passwords must contain a special character.

Type:
  • Boolean

requireChangeAfterDays :Number|null

Description:
  • Require password change after this many days (null = no requirement).

Require password change after this many days (null = no requirement).

Type:
  • Number | null

store :Boolean

Description:
  • 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.

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