Lab
  • DRM packaging tutorialsCourse
  • 5 things you need to know about multi-DRMCourse
  • Getting started with DoveRunner Anti PiracyCourse
  • Getting started with DoveRunner Forensic WatermarkingCourse
  • Getting started with DoveRunner Mobile App SecurityCourse
  • Getting started with DoveRunner Multi-DRMCourse
  • Getting started with DoveRunner Transcoding & PackagingCourse
  • Packaging content with the DRM CLI PackagerLesson · DRM packaging tutorials
한국어

License policy & token tools

Build a license policy, generate a license token from it, and validate an existing token — all computed locally in your browser with credentials you type in yourself.

License policy generator

Build the JSON license policy that goes inside a license token. The JSON updates as you choose options; copy it into the token generator below.

License token guide
1Playback policy
Advanced playback options
License duration
2Security policy
Target DRMs
Content keys
Security level

Basic security with the widest device coverage, including desktop browsers and Android devices on Widevine L3. No HDCP output protection.

Advanced: customize DRM fields

Changing a field marks the level as Custom. Only fields the level sets, or that differ from the spec defaults, go into the JSON.

Widevine

Policy JSON

{
  "policy_version": 2,
  "playback_policy": {
    "persistent": false,
    "allowed_track_types": "ALL"
  },
  "security_policy": [
    {
      "track_type": "ALL",
      "widevine": {
        "security_level": 1,
        "required_hdcp_version": "HDCP_NONE"
      }
    }
  ]
}

License token generator

Enter your site credentials and a license policy, then generate a license token — the value used in the pallycon-customdata-v2 header.

Response format
Key rotation

Result

License token validator

Check the contents of a license token (base64-encoded string) using your site key.

Result