---
title: "Configure the DRM settings"
slug: "configure-the-drm-settings"
abstract: "How to configure the DRM settings."
---
# Configure the DRM settings

You can configure the [digital rights management (DRM)](https://doc.sitecore.com/ch/en/users/content-hub/digital-rights-management.html "Digital rights management") functionality using the following settings:

- `DrmConfiguration` - sets the request flow and the approvers.
- `UsageRightsConfiguration` - extends the functionality to relations other than the default ones.

By customizing these settings in Content Hub you can control how assets are accessed, downloaded, and distributed according to your organization’s legal, security, and operational requirements.

> [!note]
> You can [edit the DRM email template](https://doc.sitecore.com/ch/en/users/content-hub/edit-an-email-template.html "Edit an email template") itself and expand the `Intended use` and `Additional information` sections of the download request email by [adding members](https://doc.sitecore.com/ch/en/users/content-hub/create-a-member.html "Create a member") to the *M.DRM.UsageRightsRequest* [entity definition](https://doc.sitecore.com/ch/en/users/content-hub/entity-definition.html "Entity definition"). The extra properties only render if they have a value.

## Configure the DrmConfiguration setting

To configure the `DrmConfiguration` setting:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Settings**.
3. On the **Settings** page, in the left pane, select **DrmConfiguration**.
4. Edit the parameters you want.

    | Parameter | Description | Possible values |
    | --- | --- | --- |
    | `usageRightsRequestUnrestrictedOrder` | Attaches the DRM usage request to the unrestricted order. | *true* or *false*. |
    | `requestApproval` | Defines user groups and users who can approve or reject requests. | Users or [user groups](https://doc.sitecore.com/ch/en/users/content-hub/standard-user-groups.html). |
    | `restrictedRenditions` | Lists the restricted renditions. | [Rendition types](https://doc.sitecore.com/ch/en/users/content-hub/default-renditions.html). |
    | `disablePublicLinksWhenAssetIsRestricted` | Disables the public link when an asset is restricted. | *true* or *false*. |
    | `disableDrmInGateway` | Disables the Gateway API for restricted assets. | *true* or *false*. |
    | `showRestrictedAssetsInPublicCollections` | Allows restricted assets to display in public collections. | *true* or *false*. |
    | `requestFlow` | Defines the request flow. | *MRM* for the default request flow, or *MAIL* for the email request flow. Be sure to clear the [cache](https://doc.sitecore.com/ch/en/users/content-hub/cache.html) after you change the flow. |
    | `driveAssetRestrictionByRightsProfileRelation` | If set to *true*, automatically updates the restricted status of an asset after it’s added to a rights profile or removed from all rights profiles. | *true* or *false* (Default: *true*). |

5. Click **Save**.

## Configure the UsageRightsConfiguration setting

To configure the `UsageRightsConfiguration` setting:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Settings**.
3. On the **Settings** page, in the left pane, select `UsageRightsConfiguration`.
4. Edit the parameters you want.

    | Parameter | Description |
    | --- | --- |
    | `match_strategy` | Match strategy applied to restricted assets. The value can be *Any*, *All*, or *SubjectBased*. If you set up a subject-based strategy, you must [add a subject and a type to the rights profiles](https://doc.sitecore.com/ch/en/users/content-hub/add-a-subject-and-type-to-a-rights-profile.html). |
    | `relations` | Relations used to determine if an asset can be downloaded. For each relation you add, you must define the following parameters:<br><br><ul><li>`key` - name used for exporting to Elasticsearch.</li><li>`rights_profile_link_relation` - name of the relation to the *M.DRM.RightsProfile* definition.</li><li>`usage_rights_request_link_relation` - name of the relation to the *M.DRM.UsageRightsRequest* definition.</li><li>`hierarchy_relation` - name of the self-relation, if required.</li><li>`role` - *child* or *parent* depending on the side of the relation.</li></ul><br><br>. You can [extend the DRM functionality](https://doc.sitecore.com/ch/en/users/content-hub/extend-the-drm-functionality.html) by making changes to relations. |
    | `properties` | Non-configurable properties. Only *startDate* and *endDate* are valid properties. |

5. Click **Save**.

You can set a new complexity value for the [match strategy](https://doc.sitecore.com/ch/en/users/content-hub/match-strategies.html "Match strategies") by adding the `maximum_complexity` parameter to the `UsageRightsConfiguration` setting as shown below.

```shell
{
  "match_strategy": ...,
  "relations": ...,
  "properties": ...,
  "maximum_complexity": 50
}

```