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.