Documentation Center

AuthPasswordComplexityPattern

The password complexity pattern contains a regular expression indicating how complex the password must be.

This registry setting is used by all Content Manager components at login time.
LocationInstalled value
HKLM\SOFTWARE\Wow6432Node\Trisoft\TriDK\TriDKApp\InfoShareAuthor\AuthPasswordComplexityPattern.*

For example, regular expressions can include:

ExpressionDescription
^Anchor at the start
[a-z]Lowercase characters, a-z
[A-Z]Uppercase characters, A through Z
{8,10}From 8 to 10 characters in length
\sAllow a space
$anchor at the end

Enclosing the expression in the caret (^) and dollar sign ($) markers ensures that the expression consists of the desired content and nothing else. (Include to ensure that an attacker can not affix malicious input to the beginning or end of valid content and bypass your filter.)

Example:^[a-zA-Z'.\s]{1,40}$

This expression constrains the input field to lowercase and uppercase alphabetic characters, space characters, the single quotation mark or apostrophe character (example: O'Dell) and the period or dot character, in a field length constrained to 40 characters.