IDOL Content Component 12.13

# Set User Name and Password Restrictions

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

1. Open the IDOL Community component configuration file in a text editor.

2. Find the `[User]` section, or create one if it does not exist.

3. Set the `MinUsernameLength` parameter to the minimum number of characters allowed for user names. For example:

       MinUsernameLength=6

4. Set the `MinPasswordLength` parameter to the minimum number of characters allowed for passwords. For example:

       MinPasswordLength=6

5. 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.

6. Save and close the configuration file.

7. Restart the IDOL Community component for your changes to take effect.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Content Component 12.13

Topic Title: Set User Name and Password Restrictions