You can specify certain restrictions on user account names and passwords to ensure that it is difficult to gain unauthorized access.
To configure user account name and password restrictions
Open the IDOL Community component configuration file in a text editor.
Find the [User]
section, or create one if it does not exist.
Set the MinUsernameLength
parameter to the minimum number of characters allowed for user names. For example:
MinUsernameLength=6
Set the MinPasswordLength
parameter to the minimum number of characters allowed for passwords. For example:
MinPasswordLength=6
Set the PasswordStrength
parameter to the minimum allowed strength of passwords. This parameter uses a scale from 1 (weakest) to 10 (strongest). For example:
PasswordStrength=6
To increase password strength, users must create passwords that contain a mixture of upper- and lowercase letters, numbers, and punctuation.
TIP: You can also create custom password strength requirements (or use an external Web service) by creating a Lua script. In this case, you must set the UserLuaScript
configuration parameter to the path to the script to use. The script must define the password_complexity_check
function, which Community calls to check the password rules. In this case, Community uses the Lua script, and then also checks the password against your PasswordStrength
criteria (if set).
For more information, refer to the IDOL Server Reference.
Save and close the configuration file.
Restart the IDOL Community component for your changes to take effect.