Difference between revisions of "Password Policy"

From SmartWiki
Jump to: navigation, search
Line 59: Line 59:
 
||Provides a list of disabled, inactive users by name and date of disabling. 
 
||Provides a list of disabled, inactive users by name and date of disabling. 
 
|}
 
|}
Password Encryption
+
===Password Encryption===
 +
For your information, if necessary: 
  
 
{{PasswordEncryption}}
 
{{PasswordEncryption}}
  
 +
===General Password Settings===
 +
This section, under the first tab of the '''Password and Activation Policies '''labelled '''General, '''is used to set password attributes. 
  
 +
:: [[File:General password settings.png|400px|border]]
 +
{| class="wikitable"
 +
|-
 +
||'''Password Length'''
 +
||
 +
|-
 +
||'''Complexity'''
 +
||
 +
 +
'''Disable Restriction of Common Passwords'''
 +
 +
|-
 +
||'''Force Password Change'''
 +
||'''Force New Password on First Login'''
 +
|-
 +
||'''Password Expiration'''
 +
||
 +
|-
 +
||'''Password History Check'''
 +
||
 +
|-
 +
||'''Maximum Password Changes in 24 Hours'''
 +
||
 +
|-
 +
||'''Password Data Restriction'''
 +
||
 +
'''Organization Field'''
 +
 +
'''Contact Field'''
 +
 +
|}
 +
Scrolling down further on the '''General '''password settings page will bring you to the sections that allow you to set the criteria for disabling and activating accounts. 
 +
 +
:: [[File:Password disable and activate.png|500px|border]]
 +
{| class="wikitable"
 +
|-
 +
||'''Disable user accounts'''
 +
||
 +
|-
 +
||'''Apply Policy to All Sub-Companies'''
 +
||
 +
|-
 +
||'''Disabled Inactive Account Message'''
 +
||
 +
|-
 +
||'''Enable reCAPTCHA Validation'''
 +
||
 +
|-
 +
||'''Activation link life span'''
 +
||
 +
|-
 +
||'''Default Security Code'''
 +
||
 +
|-
 +
||'''Challenge Questions, delimited by semi-colons'''
 +
||
 +
|}
 +
Even further down at the bottom of the '''General '''page of '''Password and Activation Policies '''are features relating to a '''Password Reset Message '''and '''Persistent Login. '''
 +
 +
<u>'''Password Reset Message'''</u>: 
 +
 +
:: [[File:Password reset message custom.png|600px|border]] 
 +
 +
Description
 +
 +
'''<u>Persistent Login</u>''': 
 +
 +
:: [[File:Persistent login.png|600px|border]] 
  
 
===Persistent Login and Expiration of Inactive Accounts===
 
===Persistent Login and Expiration of Inactive Accounts===

Revision as of 12:36, 26 June 2019


Overview

Password Policy is used to configure the password policies within SmartSimple with your organizational standards. It is best practice to ensure that these policies match the other systems deployed by your organization; consequently, these policies allow for extensive configuration options. 

Password Policies include the following:

  • The ability to control the length and complexity of passwords
  • The password expiration time period 
  • The password frequency usage 
  • The method for sending new requested passwords (via Email Templates) 
  • Word restrictions 
  • The number of retries allowed
  • The lockout time for the account if they exceed retry quota 
  • Email alerts for invalid passwords 

Multiple password policies can be supported by the system. This feature provides for less stringent policies for types of users that infrequently access the system - for example, External contacts who would only use the system for an application. Alternative password policies can be set for any level in the organization hierarchy

You can also set individual password policies for the different companies of your organization hierarchy. However, they will be able to edit the policy only, and not edit the the Activation Emails, which can only be configured from Global Settings by a user with System Administrator privileges

Note: In all cases of password policies, common words or known common passwords are ineligible to be used as SmartSimple passwords. 

Configuration - Essentials

How to Access the Password Settings

1. Click on the 9-square menu icon on the top right of your page.

052919 MenuIcon.png 

2. Under the heading Configuration, select Global Settings

3. Click on the tab labelled Security.

4. Click on the hyperlink called Password and Activation Policies.

A page displayed with numerous settings and tabs related to your system's password and activation policies will appear. On this page, you can modify the required complexities of passwords, email templates for activating users and setting passwords, disable inactive accounts, and more. 

General password activation policies.png 
Tab Name Overview of Features and Functionality
General Provides access to modify, configure, or enable/disable general password settings, the deactivation of inactive accounts, activation settings, password reset messages, and persistent login.
Activation Email Templates Allows modification and configuration of Email Templates for the following functions: New User, Request Password, and Password Change Notification. Can also set a default language and From Address. 
Intruder Alert Settings Allows modification of intruder settings, including the amount of retries, the lockout duration, and the content for an email alert when there is an intrusion.
Invalid Login Audit Provides a list of invalid logins by username, IP Address, and time for auditing and record-keeping purposes.
Locked Users Provides a list of locked users by name, Lockout Time, and the feature to directly set that user with a new password. 
Disabled Inactive Users  Provides a list of disabled, inactive users by name and date of disabling. 

Password Encryption

For your information, if necessary: 

SmartSimple uses the SHA-256 algorithm, combined with salt hashing, in order to encrypt passwords.

General Password Settings

This section, under the first tab of the Password and Activation Policies labelled General, is used to set password attributes. 

General password settings.png
Password Length
Complexity

Disable Restriction of Common Passwords

Force Password Change Force New Password on First Login
Password Expiration
Password History Check
Maximum Password Changes in 24 Hours
Password Data Restriction

Organization Field

Contact Field

Scrolling down further on the General password settings page will bring you to the sections that allow you to set the criteria for disabling and activating accounts. 

Password disable and activate.png
Disable user accounts
Apply Policy to All Sub-Companies
Disabled Inactive Account Message
Enable reCAPTCHA Validation
Activation link life span
Default Security Code
Challenge Questions, delimited by semi-colons

Even further down at the bottom of the General page of Password and Activation Policies are features relating to a Password Reset Message and Persistent Login. 

Password Reset Message

Password reset message custom.png 

Description

Persistent Login

Persistent login.png 

Persistent Login and Expiration of Inactive Accounts

Password 001.png

Persistent Login provides for the use use of a persistent secure cookie on the users computer to eliminate the need to use a username and password to log into the system. This feature will be deprecated in the July 2016 upgrade. Disable Inactive Accounts provides the ability to automatically disable a user account after a predetermined period of time. A password reset is required by the user to regain access to the system. The main options are:

  • Disable user accounts after [X] days - The number of days a user account is inactive before it is disabled. Leave this field blank to disable this feature.
  • Apply Policy to All Sub-Companies - Click button to force-update the password policy of the current company and all sub-companies. Note:This is applicable when an organization has a root company and a one or more sub-companies each with it's own password policies.
  • Disabled Inactive Account Message - The text to be displayed to a user trying to access an expired account.

Password Settings Section

This section is used to set password attributes.

Password general settings.png

Maximum Password Update in 24 Hours – Sets the maximum number of password changes a user can make within a 24 hour period can be defined. This is to prevent users bypassing the password history restriction by changing their password repeatedly to return to a previously used password. This setting only pertains to password changes by use of "Update Password" by user, not to the "Forgot Password" link or system administrators using "Set Password."

Password length – the minimum length allowed for a password, between 6 and 32 characters.

Data Restrictions - passwords set by users can be restricted so values such as first name, last name or organization name cannot be used in the password. Any number of fields can be selected from both the organization or the user profile; standard and custom fields are supported.

Password-008.png

In the example above City, Country and Phone fields have been selected from the user's organization record and first name, last name, birthplace and nickname fields have been selected from the user profile.


Password Complexity

Complexity – the level of complexity required in the password, the options are:

  • No Restriction – any character can be used. This is the default.
  • Alpha Only – only letters can be used.
  • Alpha & Numeric – letters and numbers must be used in the password.
  • Alpha & Numeric & Special characters – letters, numbers and special characters must be used.
  • Custom Policy - a password policy can be custom defined.

Custom Policy

  • The Compose Custom Password Policy table provides the ability to define the custom password policy that matches your organization's security standards and provides control of each character type desired (upper case, lower case, numeric and/or symbols). You can also specify the minimum number of characters required for that character type.
  • The character mask used to define your selection will appear in the Custom Password Policy field. You can also write your own code and paste it into this field if desired.
  • The Validate Pattern button will open a window where you can test various passwords against the policy to see if they will pass or fail.
  • The value in the Custom Password Policy Description field will be displayed to users when setting/changing their password. You can use plain text or html in this field (For example, to insert a line break use <br>)
  • Note: See also Custom Password Policy Examples

Custpwpolicy.png

Important: When defining a custom password policy be sure to provide a detailed description of the policy in the Custom Password Policy Description field so that users are aware of the minimum requirement to enable them to create a valid password.

If you need to translate the Custom Password Policy Description message you can use sslogic. It is often easiest to use System Variables for these. Example:

<!--@sslogic('@langid@'='2')--><br>@system.Password Policy - French@<!--@else--><br>@system.Password Policy@<!--@end-->

New Password Settings

Password003.png

  • Force Password Change - Appears with button marked Expire All Passwords Now. Ensures that all users will be forced to rest their password when they next log in.
  • First Login - Ensures that the user selects a password of their own choosing the first time they log into SmartSimple.
    (Does not count towards Maximum Password Update in 24 Hours setting.)
  • Password Expiration - Each user will be forced to change their password once the selected number of days has passed. Any number of days can be set.
  • Password History Check - You can set the number of previous passwords (to a maximum of 32) that the system will remember for each user. When changing their password, users will not be permitted to re-use a previous password until the specified number of unique passwords have been used.


Password Activation Settings

Password Activation Settings can be set to add an extra layer of security to the system. These settings pertain to users who use the "Forgot Password" link on the login page.

Password-Activation-Settings.png

  • Default Security Code - A hard-coded value to be entered when users request new passwords.
  • Activation link life span - Works with the @activationlink@ password variable. If the https://@url@@activationlink@ syntax is used in the Request Password section of User Email Templates, this setting sets the duration that the activation link will be valid.
  • Challenge Questions, delimited by semi-colons - You can set a series of challenge questions, all users will be prompted to select a Challenge Question on next login. Their answer will be stored and they will be prompted to enter this answer if they forget their password and click the activation link in the "Forgot password" email template.
Challenge-question.png
Note: An example of a good challenge question would be something that is simple, memorable, can't be guessed easily, and won't change over time.

Rules for Password Activation Settings

When a company has password settings configured, then these will be used in full.

When a company does not have password settings configured, the system will go up the Organizational hierarchy until it finds a parent company with password settings configured and then use these settings.

NOTE: When a company does not have password settings configure it will display informational text at the top saying it has not been configured.


The following rules apply to the above settings when a new user is sent their password for the first time:

  • If the Activation settings have a default security code but no challenge questions, the user will be prompted to enter the default security code.
  • If the Activation settings have a default security code and a challenge questions, the user will be prompted to enter the default security code and then taken to second screen to define an answer to one of the the Challenge questions. The user can then go User Profile and access the Change Password page to view and update their stored challenge question and answer.
  • The user will be presented with CAPTCHA validation in all cases.


The following rules apply to the above settings when an existing user requests a new password:

  • If a default security code has been entered and no challenge questions have been entered, the user will be prompted to enter the default security code.
  • If a default security code has been entered and challenge questions have been entered, the user will only be prompted to answer a challenge question.
  • The user will be presented with CAPTCHA validation in all cases.

After successful completion of Password Activation, the user will be logged in and their new password will be active.

Intruder Lockout Settings

Password-006.png

These settings determine the actions that should be taken if someone attempts to log into your copy of SmartSimple.

  • Number of Attempts – the number of attempts to log in with an account before the account is locked.
  • Lockout Duration – the duration of the account lockout. The user will not be able to log in during this period. Period can be set to 5 minutes, 15 minutes, 30 minutes, 1 hour, 3 hours, 12 hours, 24 hours or forever (until unlocked by administrator).
  • Lockout Message - a custom message to display to users when a user is locked out due to too many failed login attempts. This message will only display when a user has been locked out, and attempts to log in again with the correct password. Therefore, no information will be divulged to users that fail their login.
  • The View Locked Users tab will display all users that have had their account locked.
  • If a user is locked, you can click on the Set Password button on the View Locked Users tab to reactivate the account and send the user a new password.


  • Once an account has been locked for exceeding the number of permitted login attempts it will remain on the "locked users" list until the correct password is entered. This allows the administrator to see which users have been unable to log in, even if the configured lockout duration has passed and the account is no longer technically locked.
  • When an account has been locked for exceeding the allotted number of attempts, after the lockout time has passed they are permitted only one attempt at the correct password. A single incorrect password at this point will re-lock the account for the configured lockout duration. In other words, once someone is on the "locked user" list they are only permitted a single wrong attempt and they will be locked for the lockout duration again. This prevents would-be intruders from having multiple attempts to guess the password each time the lockout duration has passed.

Password Reset Message

Password-005.png

This feature provides the ability to overwrite the standard Password Reset message with a custom message for your organization.


Intruder Email Alert

These settings define who should be informed by email if an intruder alert is detected. A default emial template is used and contains the following values:

10-12-2016 1-15-24 PM.png

The Default template uses the primary contact on the root company record to populate the Email To.


You can save the default template and then modify ifrequired.

  • Email From – the “from” address for the email. If you do not set this value, the address: donotreply@smartsimple.com will be used.
  • Email To – select the internal people to receive the email.
  • Subject – the subject of the email. See below for the variables that you can use in the subject.
  • Body – the body of the alert email. See below for the variables that you can use in the body.

Intruder Alert Email Variables – because the user is not logged into the system, the amount of information available is limited to IP Address @ip@, the attempted username @username@ and date/time @now@ of the attempted login.


Intruder Log

The View Log tab is used to access the Intruder Alert log.

Glob13.png

  • The list can be sorted by clicking the column title.
  • You can filter the list by username, year, and month.


Hierarchical Password Policy

When viewing a company in your hierarchy, select Settings > Password Policy to define.

A different password policy can be defined for each company within the system.

If there are password policies defined for a company then it will automatically apply to all sub-companies in the hierarchy, unless those sub-companies have defined their own password policy.

If there are no password policies defined for a company, then the system will look at the companies above it in the hierarchy, and if one of these parent companies have a password policy set then it will use these settings.

If there are no password policies defined for a company, or any of the companies above it in the hierarchy, then the password policy set in Global Settings will apply.

NOTE: There are no settings stored in the database for a company until someone actually opens the Password Policy page for that company and clicks Save.

View Locked Users

This option is only available from the Password Policy on the. It cannot be accessed for the individual Password policies for the different companies in your organizations hierarchy.

ViewLockedUsers.png

The View Locked Users tab will display all users that have had their account locked.

  • Once an account has been locked for exceeding the number of permitted login attempts it will remain on the "locked users" list until the correct password is entered. This allows the administrator to see which users have been unable to log in, even if the configured lockout duration has passed and the account is no longer technically locked.
  • When an account has been locked for exceeding the alloted number of attempts, after the lockout time has passed they are permitted only one attempt at the correct password. A single incorrect password at this point will re-lock the account for the configured lockout duration. In other words, once someone is on the "locked user" list they are only permitted a single wrong attempt and they will be locked for the lockout duration again. This prevent would-be intruders from having multiple attempts to guess the password each time the lockout duration has passed.
  • If a user is locked, you can click on the Set Password button to reactivate the account and send the user a new password.


View Expired Users

This option is only available from the Password Policy on the. It can not be accessed for the individual Password policies for the different companies in your organizations hierarchy.

ViewExpiredUsers.png

  • The View Expired Users tab will display all users that had their accounts disabled due to inactivity. There will be page navigation options if there is an overly long list.
  • Once an account has been expired for having been inactive for longer that the permitted number of days it will remain on the "expired users" list until their password is reset. This allows the administrator to see which users have been expired.
  • If a user is expired, you can click on the Send Password button to reactivate the account and send the user a new password.

Single Sign-On

For information on the Single Sign-On settings and functionality, please refer to the Single Sign-On page.

See Also