Skip to main content

Activity token complexity

An activity token complexity policy controls the format of the temporary account that an activity creates for a session. You apply a policy to a connection profile. A connection profile that doesn't select a policy uses the built-in <default> policy.

The policy applies to the account name, not to a password. Length is the number of characters in the generated name. Max Consecutive Chars is the most times the same character can repeat in a row.

Default values​

A new policy form starts with these values.

FieldDefault
Must Start WithLowercase
Must End WithNone
Length19
Max Consecutive Chars2
Include CharactersLowercase and Numbers selected; Uppercase cleared

The form accepts a Length from 5 to 19 characters. When a connection profile uses the built-in <default> policy, Privilege Secure generates names of 20 characters.

Create an activity token complexity policy​

  1. Select Access Policy > Activity Token Complexity.
  2. Click the plus (+) button above the list.
  3. In Name, enter a unique name.
  4. (Optional) In Description, enter the purpose of the policy.
  5. Set Must Start With and Must End With to None, Lowercase, Uppercase, or Numeric.
  6. Set Length and Max Consecutive Chars.
  7. (Optional) In Characters to Exclude, enter other characters to leave out of the name.
  8. Under Include Characters, select the kinds of characters to include.
  9. Click Save.

Example​

A policy named short-names uses these values:

FieldValue
Must Start WithLowercase
Must End WithNone
Length12
Max Consecutive Chars1
Characters to Exclude0O1lI
Include CharactersLowercase and Numbers

When the name includes no text from the user's name, each generated name has 12 characters and starts with a lowercase letter, and no character appears twice in a row. Otherwise, the start rule and the repeat rule apply only to the generated characters. The characters 0, O, 1, l, and I never appear, in addition to the characters that the console always excludes.

Fields​

FieldDescription
NameThe name of the policy.
DescriptionThe purpose of the policy.
Must Start WithThe kind of character the name starts with: None, Lowercase, Uppercase, or Numeric.
Must End WithThe kind of character the name ends with: None, Lowercase, Uppercase, or Numeric.
LengthThe number of characters in the generated account name. The value must be from 5 to 19. When the name includes text taken from the user's name, Privilege Secure keeps at most Length minus 5 characters of that text and fills the rest with generated characters.
Max Consecutive CharsThe most times the same character can appear in a row.
Characters to ExcludeCharacters you want to leave out. The console excludes these in addition to the characters shown under Additional characters excluded.
Additional characters excludedA read-only list of the characters that the console always excludes.
Include CharactersThe kinds of characters the console can use: Lowercase, Uppercase, and Numbers.

The characters that the console always excludes are /, \, ", [, ], :, ;, |, =, ,, +, *, ?, <, >, %, and the space character.

Apply a policy to a connection profile​

  1. Select Access Policy > Connection Profiles.
  2. Select the connection profile.
  3. In the Session Control section, select the policy in Activity Token Complexity Policy.
  4. Click Save.

See Connection profiles.

Delete a policy​

Point to a policy in the list, click the trash icon, and confirm.