Skip to main content
View as Markdown

Access Control Contexts - Content Management

Access Control Contexts​

Rules are evaluated based on the delivery context:

ValueNameApplied On
1PLAYplayManifest requests (streaming playback)
2DOWNLOADraw serve, download, flavorAsset.getUrl requests
3THUMBNAILDynamic thumbnail URL requests
4METADATAMetadata access (entry info)

Set contexts on rules to enforce them selectively:

# Apply rule only to PLAY and DOWNLOAD contexts
-d "accessControlProfile[rules][0][contexts][0][objectType]=KalturaAccessControlContextTypeHolder" \
-d "accessControlProfile[rules][0][contexts][0][type]=1" \
-d "accessControlProfile[rules][0][contexts][1][objectType]=KalturaAccessControlContextTypeHolder" \
-d "accessControlProfile[rules][0][contexts][1][type]=2"

An entry can be viewable but not downloadable, or thumbnails can be accessible even when playback is restricted.