{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":40523,"path":"platform-security/authentication/enable-password-policies.md","title":"Enable password policies on your instance","bundle":null,"doc_type":null,"release":"australia","body":"\n# Enable password policies on your instance\n\nImplement password policy controls at login. Force users to change their password if the password does not meet the password policy criteria.\n\n## Before you begin\n\nRole required: password\\_policy\\_admin\n\n## About this task\n\nThe Password Policy plugin \\(com.glide.password\\_policy\\) is enabled by default. The policy goes into effect when a user changes or resets the password.\n\nThe **Password Strength Preset** field is automatically set to **Default Strong**. If you want to add new criteria, you can perform the following procedure.\n\nIf you customized your instance through the **ValidatePasswordStronger** installation exit or your Password Reset credential store **pwd\\_cred\\_store** property, then see [password policy properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/authentication/password-policy-properties.md) to know how to implement a password policy for your instance.\n\n**Note:** The active password policy is highlighted for the Instance as shown.\n\n\\[Omitted image \"password-highlight.png\"\\] Alt text: Password Highlighted when set as active\n\nTo change the password policy navigate to **All** &gt; **Password Reset** &gt; **Credentials Stores**, select the credentials and change the **Password policy** field to the required policy input.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Password Policy** &gt; **Password Policies**.\n\n2.  Click **New**.\n\n    The Password Policy form appears.\n\n3.  Specify the **Name** for your password policy.\n\n4.  In the Password Policy Criteria section, select one of the following presets from the **Password Strength Preset** field.\n\n<table id=\"choicetable_syn_nd3_yrb\"><thead><tr><th align=\"left\" id=\"d71700e144\">\n\nPassword Strength Preset\n\n</th><th align=\"left\" id=\"d71700e147\">\n\nDescription\n\n</th></tr></thead><tbody><tr><td id=\"d71700e153\">\n\n**Default**\n\n</td><td>\n\nAuto-populates the fields for required password characters as follows:-   Sets **Minimum Uppercase Character\\(s\\)** to 1.\n-   Sets **Minimum Lowercase Character\\(s\\)** to 1.\n-   Sets **Minimum Numeric Character\\(s\\)** to 1.\n-   Sets **Minimum Special Character\\(s\\)** to 0.\n The minimum password length is 8 characters, and the maximum is 100.\n\n</td></tr><tr><td id=\"d71700e192\">\n\n**Medium**\n\n</td><td>\n\nAuto-populates the fields for required password characters as follows:-   Sets **Minimum Uppercase Character\\(s\\)** to 1.\n-   Sets **Minimum Lowercase Character\\(s\\)** to 1.\n-   Sets **Minimum Numeric Character\\(s\\)** to 1.\n-   Sets **Minimum Special Character\\(s\\)** to 1.\n The minimum password length is 12 characters, and the maximum is 40.\n\n</td></tr><tr><td id=\"d71700e231\">\n\n**High**\n\n</td><td>\n\nAuto-populates the fields for required password characters as follows:-   Sets **Minimum Uppercase Character\\(s\\)** to 1.\n-   Sets **Minimum Lowercase Character\\(s\\)** to 2.\n-   Sets **Minimum Numeric Character\\(s\\)** to 1.\n-   Sets **Minimum Special Character\\(s\\)** to 3.\n The minimum password length is 8 characters, and the maximum is 100.\n\n</td></tr><tr><td id=\"d71700e270\">\n\n**Default Strong**\n\n</td><td>\n\nAuto-populates the fields for required password characters as follows:-   Sets **Minimum Uppercase Character\\(s\\)** to 1.\n-   Sets **Minimum Lowercase Character\\(s\\)** to 1.\n-   Sets **Minimum Numeric Character\\(s\\)** to 1.\n-   Sets **Minimum Special Character\\(s\\)** to 1.\n The minimum password length is 8 characters, and the maximum is 100.\n\n</td></tr><tr><td id=\"d71700e310\">\n\n**Custom**\n\n</td><td>\n\nAuto-populates the fields for required password characters as follows:-   Sets **Minimum Uppercase Character\\(s\\)** to 1.\n-   Sets **Minimum Lowercase Character\\(s\\)** to 1.\n-   Sets **Minimum Numeric Character\\(s\\)** to 1.\n-   Sets **Minimum Special Character\\(s\\)** to 1.\n The minimum password length is 8 characters, and the maximum is 100.\n\n You can also customize the **Password Policy Script** that is displayed.\n\n</td></tr><tr><td id=\"d71700e355\">\n\n**Advanced**\n\n</td><td>\n\nSelecting **Advanced** displays **Password Rule Script** and **Password Strength Script**. Based on your requirement you can customize these scripts.\n\n</td></tr></tbody>\n</table>    **Note:** Password policy is applied based on the selected preset.\n\n5.  On the form, fill in the remaining fields.\n\n<table id=\"table_sks_f5c_jjb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nMinimum Password Length\n\n</td><td>\n\nMinimum length of the password. This option is displayed for all the presets except for **Advanced**. Set this field to a minimum of 8–10 characters.\n\n</td></tr><tr><td>\n\nMaximum Password Length\n\n</td><td>\n\nMaximum length of the password. This option is displayed for all the presets except **Advanced**. Set this field to a maximum of 100 characters.\n\n</td></tr><tr><td>\n\nMinimum Uppercase Character\\(s\\)\n\n</td><td>\n\nMinimum number of uppercase characters in the password, from 0 to 10.\n\n</td></tr><tr><td>\n\nMinimum Lowercase Character\\(s\\)\n\n</td><td>\n\nMinimum lowercase characters in the password, from 0 to 10.\n\n</td></tr><tr><td>\n\nMinimum Numeric Character\\(s\\)\n\n</td><td>\n\nMinimum numeric of characters in the password, from 0 to 10.\n\n</td></tr><tr><td>\n\nMinimum Special Character\\(s\\)\n\n</td><td>\n\nMinimum number of special characters in the password, from 0 to 10.\n\n</td></tr><tr><td>\n\nIncluded Special Characters\n\n</td><td>\n\nAllow a restricted set of special characters without any delimiter. For example, if you enter `$,!`, then users can only use \"$\" and \"!\" as special characters in the password. No other special characters can be used. A password with other special characters is not allowed.\n\n</td></tr><tr><td>\n\nExcluded Special Characters\n\n</td><td>\n\nAllow a restricted set of special characters without any delimiter.For example, if you enter `@$!`, then users cannot use '@', '$' and '!' as special characters in their passwords.\n\n**Note:** This option is available if the **glide.password\\_policy.use\\_excluded\\_special\\_char** property is enabled.\n\n</td></tr><tr><td>\n\nDisallow User Data\n\n</td><td>\n\nOption to disallow user data that is authentication-related.\n\n</td></tr><tr><td>\n\nSequence Length Threshold\n\n</td><td>\n\nThe sequence length of your password.\n\n</td></tr><tr><td>\n\nRepetition Length Threshold\n\n</td><td>\n\nThe repetition length of your password.**Note:**\n\n-   Both the sequence length threshold and repetition length threshold can have a maximum of eight characters. These fields enable you to restrict weak combinations of passwords that have predictable and repeating sequences such as \"123456\", \"qwerty\", \"!@\\#$%^\", \"aaaaa\", and so on.\n-   If **Password Strength Preset** is set to **Default Strong**, then the length for both sequence length threshold and repetition length threshold is set to four characters.\n\n\n</td></tr><tr><td>\n\nTest Your Password\n\n</td><td>\n\nSpecify your actual password in this field.\n\n</td></tr></tbody>\n</table>6.  Click **Test Your Password**.\n\n7.  After the password is tested as valid, click **Submit** to submit the password.\n\n    **Note:** Always test your password before submitting.\n\n\n"}}