Restrict access to fields in an article template

Use encryption context to set field-level security in article templates and display the fields based on user permissions.

Before you begin

Activate the Encryption Support plugin to enable field-level security using encryption context.

Role required: security_admin


  1. Navigate to System Security > Field Encryption > Encryption Contexts and click New.
  2. In the Name field, enter a name for the encryption context and click Submit.
  3. Set the Type field for a table to Encrypted Text.
    To set the Type field for a table to Encrypted text:
    1. Navigate to System Definition > Dictionary.
    2. Select the table to set the Type field to Encrypted Text.
    3. In the Type field, select Encrypted Text.
    4. Click Update.
    The field is configured for encryption context.
  4. Configure roles that can view the fields configured for encryption context.
    To configure the roles that can view the fields:
    1. Navigate to User Administration > Roles and select the role you want to assign permissions to view this field.
    2. In the Encrypted context field, select the name of the encryption context to apply for this role.
    Note: If the Encrypted context field is not on the form, configure the form to add the field.
  5. Click Update.
    The field is displayed if the user has permissions to view the configured encrypted text field.