To apply content protection settings to a specific path, you must first add a new path:
- Log in to the Distil Portal.
- Click API Security on the top banner menu, then select Web & Mobile App API.
- Select a domain from your Domains dashboard.
- Click Settings on the banner menu.
- Click Edit Settings by Path in the Content Protection section.
- Click + Add an API URL.
- Enter the path you are configuring.
- Select the Identity Provider.
- Custom Token – Allows only requests having a custom token. Does not allow requests having a web security token or a mobile SDK token.
- Mobile SDK – Allows only requests having a mobile SDK token. Does not allow requests having a web security token or a custom token.
- Web Security – Allows only requests having a web security token. Does not allow requests having a mobile SDK token or a custom token.
- Select a Match Type.
- Contains – The content protection setting applies to any path containing the string entered in the Path field (above).
- Pattern Match – The content protection setting applies to any path matching the Lua pattern entered in the Path field (above).
- Configure the path content protection settings, where applicable.
- Click [ Save ].
Comments