Access Control & Security

These settings decide how your streams are secured in transit and who can play them.

deploymentNetworkTemplate

{
  "name": "deploymentNetworkTemplate",
  "options": {
    "secureDeploymentNetwork": false
  }
}

Chooses between Akamai's two HTTPS security levels.

  • false — Standard TLS. Ships as this. A Level 1 certificate network: SOX and ISO compliant, but not PCI or FedRAMP. Right for general media traffic and content that doesn't exchange PII. Edge hostnames use the edgesuite.net suffix.
  • true — Enhanced TLS. A Level 3 certificate network for high-assurance requirements: fully PCI and FedRAMP compliant, and able to support non-SNI configurations for legacy clients and set-top boxes. Edge hostnames use the edgekey.net suffix.

Enhanced TLS depends on your contract. In the product definition, secureIncluded and sharedCertSslIncluded tell you what your contract includes.

segmentedContentProtection

Segmented Media Protection. Validates authorization tokens at the edge so a shared link doesn't become a shared stream, and optionally encrypts segments on the fly.

{
  "name": "segmentedContentProtection",
  "options": {
    "enabled": false,
    "hlsMediaEncryption": false,
    "dashMediaEncryption": false,
    "tokenAuthenticationTitle": "",
    "mediaEncryptionTitle": ""
  }
}

It ships off, which is the only thing it could ship as: token authentication needs a shared secret, and Akamai can't generate one that your token-signing code already knows. Until you enable it, every URL this configuration serves is playable by anyone who has it.

OptionShips asWhy
enabledfalseOff until you supply a key. Setting it to true makes key and useAdvanced required — a true with no key is an invalid object, not a partially configured one.
hlsMediaEncryptionfalseOn-the-fly encryption of HLS segments. Independent of token authentication, though the two are meant to be used together.
dashMediaEncryptionfalseThe same for DASH segments.

When you set enabled to true:

  • key — the shared secret, a hexadecimal string, used to validate tokens at the edge. It must match the key your token generator signs with.
  • useAdvanced — opens transitionKey (a second accepted key, so you can rotate without downtime), salt, headerForSalt (defaults to User-Agent, X-Playback-Session-Id, Origin), and the carry-over switches sessionId, dataPayload, ip, and acl, which decide what the access token passes to the session token.
  • enableTokenInURI with hlsMasterManifestFiles, or enableTokenInQueryString for DASH, depending on where your player can carry the token.
  • tokenRevocationEnabled with revokedListId to block tokens you've issued and want back. See Token Based Access Revocation.

Encryption without authentication is weaker than it looks: the keys still have to reach the player, so pair media encryption with token authentication rather than using it alone.

❗️

Interaction with cacheKeyQueryParams

The default settings ignore all query parameters when forming cache keys, which is what lets every viewer share one cached segment. Token validation happens before the cache lookup, so the two are compatible — but if you move to INCLUDE for some parameter, make sure it isn't the token, or you'll key the cache per viewer.