

The security policy might be set in Windows, or might be received from the domain. Setting CHECK_POLICY = ON prevents the creation of passwords that are:Īny of the following: "password", "admin", "administrator", "sa", "sysadmin" An ALTER LOGIN statement that has this combination of options will fail. If CHECK_POLICY is set to OFF, CHECK_EXPIRATION cannot be set to ON. If MUST_CHANGE is specified, CHECK_EXPIRATION and CHECK_POLICY must be set to ON. Some combinations of policy options are not supported. When CHECK_POLICY is changed to OFF, the following behaviors occur: The password history is initialized with the value of the current password hash.Īccount lockout duration, account lockout threshold, and reset account lockout counter after are also enabled. When CHECK_POLICY is changed to ON, the following behaviors occur:ĬHECK_EXPIRATION is also set to ON unless it is explicitly set to OFF. Select the options that you want to apply to. In the Password policy section, choose Change password policy. The following rules apply to the configuration of password policy enforcement: Setting a password policy (console) Sign in to the AWS Management Console and open the IAM console at In the navigation pane, choose Account settings. Use ALTER LOGIN (Transact-SQL) to configure the password policy options of a SQL Server login. The enforcement of password policy can be configured separately for each SQL Server login. When SQL Server enforces password expiration policy, users are reminded to change old passwords, and accounts that have expired passwords are disabled. Password expiration policies are used to manage the lifespan of a password. Use passwords that are as long and complex as possible. Passwords can be up to 128 characters long. Non-alphanumeric characters such as: exclamation point (!), dollar sign ($), number sign (#), or percent (%). The password contains characters from three of the following four categories: The password is at least eight characters long.

The password does not contain the account name of the user.

When password complexity policy is enforced, new passwords must meet the following guidelines: Password complexity policies are designed to deter brute force attacks by increasing the number of possible passwords. The password expiration and policy enforcement sections do not apply to SQL Database. SQL Database enforces password complexity.
