Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Adobe Media Server Developer Center /

Content protection using PHDS/PHLS and Adobe Access with Adobe Media Server 5.0

by Amit Kumar

Amit Kumar

Content

  • PHDS
  • Adobe Access for HDS
  • PHLS
  • Configuring PHLS for VOD
  • Where to go from here

Created

15 October 2012

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Adobe Media Server 5 Standar...Flash Media ServersecuritystreamingvideoVOD
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

Some basic knowledge of streaming content using HLS and HDS in AMS without using protection.

User level

Intermediate

Required products

  • Adobe Media Server 5 Standard
  • Adobe Access

In this article, you will get an overview of how to use PHDS, PHLS, and Adobe Access (aka Flash Access) for streaming protected content to Flash Player, Air, and iOS devices over HTTP with and without using a DRM License Server.

Here the assumption is that Adobe Media Server (AMS) is already installed.

PHDS

You can use Adobe Media Server (AMS) 5 to serve live and on-demand protected content to Flash Player and AIR over HTTP without using a DRM License Server. When AMS packages the content, it generates the license and embeds it into the DRM metadata of the content stream. Flash Player 11 and AIR 3 clients can retrieve the license from the content stream, which eliminates communication between the client and a License Server. This feature is called Protected HTTP Dynamic Streaming (PHDS). You can read more about PHDS here.

The AMS installer generates credentials, certificates, and policy files to the rootinstall/creds directory. The installer also creates a common-key.bin file in the /creds directory. You can change the content of this file or create a new common key file using the Scramble tool.

To configure PHDS with basic settings, see the below sections:

Configuring PHDS for LIVE

To enable PHDS for LIVE, open the httpd.conf file in a text editor. The httpd.conf file is located under the root_install/Apache2.2/conf folder.

In the httpd.conf file, search for the <Location /hds-live> location directive. Enable PHDS by adding the following tags under <Location /hds-live> :

HttpStreamingEncryptionScope server HttpStreamingProtectionScheme PHDS

Publish a live stream called “livestream?adbe-live-event=liveevent” to livepkgr.

Play back the stream using the URI http://<server-ip>/hds-live/livepkgr/_definst_/liveevent/livetsream.f4m.

Configuring PHDS for VOD

To enable PHDS for VOD, open the httpd.conf file in a text editor and search for the <Location /hds-vod> location directive. Enable PHDS by adding the following tags under <Location /hds-vod>:

EncryptionScope server ProtectionScheme PHDS

By default you have a media file “sample2_1000kbps.f4v” in the webroot/vod folder so you can playback that using the URI http://<server-ip>/hds-vod/sample2_1000kbps.f4v.f4m.

Note: Above the configurations change will enable PHDS at the server level.

Adobe Access for HDS

You can also use AMS to enable HDS with Adobe Access for protected streaming. The Adobe Access server for protected streaming is a license server implementation optimized for use with HDS.

Note: The Adobe Access SDK and the Adobe Access license server reference implementation can issue licenses for HDS.

After you have deployed Adobe Access Server for protected streaming, configure AMS to package and encrypt the content in real-time.

You can read more about Adobe Access for HDS here.

To configure Adobe Access for HDS with basic settings, see the below sections:

Configuring Adobe Access for HDS LIVE

In the httpd.conf file, search for the <Location /hds-live> location directive. Enable Adobe Access(AdobeAccessV2) by adding the following tags under <Location /hds-live>:

HttpStreamingEncryptionScope server HttpStreamingProtectionScheme AdobeAccessV2 HdsDrmCommonKeyFile "../creds/common-key.bin" HdsDrmLicenseServerURL http://<aaxs-server>/ HdsDrmTransportCertFile "aaxs-server-trnsCert.der" HdsDrmLicenseServerCertFile "aaxs-server-licCert.der" HdsDrmPackagerCredentialFile " aaxs-server-pkgrCert.pfx" HdsDrmPackagerCredentialPassword ????? HdsDrmPolicyFile "sample_policy.pol"

To enable and configure Adobe Access (AdobeAccessV3) in the httpd.conf file, add the following tags under <Location /hds-live>:

HttpStreamingEncryptionScope server HttpStreamingProtectionScheme AdobeAccessV3 HdsDrmCommonKeyFile "../creds/common-key.bin" HdsDrmLicenseServerURL http://<aaxs-server>/ HdsDrmTransportCertFile "aaxs-server-trnsCert.der" HdsDrmLicenseServerCertFile "aaxs-server-licCert.der" HdsDrmPackagerCredentialFile " aaxs-server-pkgrCert.pfx" HdsDrmPackagerCredentialPassword ????? HdsDrmPolicyFile "sample_policy.pol"

Configuring Adobe Access for HDS VOD

In the httpd.conf file, search for the <Location /hds-vod> location directive. Enable Adobe Access(AdobeAccessV2) by adding the following tags under <Location /hds-vod>:

EncryptionScope server ProtectionScheme AdobeAccessV2 JitDrmCommonKeyFile "../creds/common-key.bin" JitDrmLicenseServerURL http://<aaxs-server>/ JitDrmTransportCertFile "aaxs-server-trnsCert.der" JitDrmLicenseServerCertFile "aaxs-server-licCert.der" JitDrmPackagerCredentialFile " aaxs-server-pkgrCert.pfx" JitDrmPackagerCredentialPassword ????? JitDrmPolicyFile "sample_policy.pol"

To enable and configure Adobe Access (AdobeAccessV3) in the httpd.conf file, add following tags under <Location /hds-vod>:

EncryptionScope server ProtectionScheme AdobeAccessV3 JitDrmCommonKeyFile "../creds/common-key.bin" JitDrmLicenseServerURL http://<aaxs-server>/ JitDrmTransportCertFile "aaxs-server-trnsCert.der" JitDrmLicenseServerCertFile "aaxs-server-licCert.der" JitDrmPackagerCredentialFile " aaxs-server-pkgrCert.pfx" JitDrmPackagerCredentialPassword ????? JitDrmPolicyFile "sample_policy.pol"

Note: Please make sure you have certificates as .der files. If you have other formats like .cer, .pem etc then use openssl commands to convert them to .der.

PHLS

AMS 5 can be used to serve protected content to iOS devices over HTTP without using a DRM License Server or key server.  This is PHLS mode and it’s a non-DRM solution. The key is always served in a local mode. You can read more about PHLS here.

To configure PHLS with basic settings, see the below sections:

Configuring PHLS for LIVE

After installing AMS, navigate to the <root-install>/Apache 2.2/conf/ directory. Edit the http.conf file and add the following tags under <Location hls-live>:

HLSEncryptionScope server HLSProtectionScheme PHLS

Publish a live stream called “livestream?adbe-live-event=liveevent” to livepkgr.

Play back the stream using the URI http://<server-ip>/hls-live/livepkgr/_definst_/liveevent/livetsream.m3u8

Configuring PHLS for VOD

To enable PHLS for VOD, open the httpd.conf file, and add the following tags under <Location /hls-vod>:

HLSEncryptionScope server HLSProtectionScheme PHLS

By default you have a media file “sample2_1000kbps.f4v” in the webroot/vod folder so you can play back that using the URI http://<server-ip>/hls-vod/sample2_1000kbps.f4v.m3u8.

Note: The above configurations change will enable PHLS at the server level.

Configuring PHLS for VOD

Adobe Access mode offers a complete DRM solution. It supports all the Adobe Access 3.0 features, along with remote key serving for HLS. Local key serving mode also works with Adobe Access 2.0 or higher license servers. The remote key serving mode works only with an Adobe Access 4.0 compliant server. You can read more about Adobe Access content protection for HLS here.

To configure Adobe Access with basic settings, see below sections:

Configuring Adobe Access for HLS LIVE and HLS VOD

To enable Adobe Access for HLS, open the http.conf file and add the following tags under the respective location directives:

HLSEncryptionScope server HLSProtectionScheme AdobeAccessV4 HLSDrmCommonKeyFile "../creds/common-key.bin" HLSDrmLicenseServerURL “http://<aaxs-server>/" HLSDrmTransportCertFile "aaxs-server-trnsCert.der" HLSDrmLicenseServerCertFile "aaxs-server-licCert.der" HLSDrmPackagerCredentialFile "aaxs-server-pkgrCert.pfx" HLSDrmPackagerCredentialPassword ????? HLSDrmPolicyFile "sample_policy.pol" HLSDrmKeyServerURL "<key server url>"

Note: For local key delivery, Adobe recommends that HLSDrmKeyServerURL be set to the dummy URL http://faxs.adobe.com.

Also, please make sure you have certificates as .der files. If you have other formats like .cer, .pem etc then use openssl commands to convert them to .der.

Where to go from here

Apart from the server level configurations explained above, content protection using AMS can be achieved even at content level. You can learn more about it here.

Learn more about Adobe Media Server here. Send feedback on this article.

More Like This

  • Encoding live video to H.264/AVC with Flash Player 11
  • Beginner's guide to streaming audio through Flash Media Server 3.5
  • Beginner's guide to dynamic streaming with Flash Media Server 3.5
  • Beginner's guide to using ActionScript 3.0 with Flash Media Server 3.5
  • Streaming AAC/MP3 files with Flash Media Server 3
  • Beginner's guide to installing Flash Media Server 3.5
  • Beginner's guide to streaming live video with Flash Media Server 3.5
  • Beginner's guide to streaming video with Flash Media Server 3.5
  • Protecting online video distribution with Adobe Flash media technology
  • Live dynamic streaming and DVR for non-developers

Tutorials & Samples

Tutorials

  • Implementing late-binding audio with Adobe Media Server for HTTP Dynamic Streaming and HTTP Live Streaming
  • Troubleshooting hang/crash issues in Adobe Media Server
  • Attaching alternate audio tracks using OSMF

Samples

  • Best practices for real-time collaboration using Flash Media Server
  • Understanding live DVR – Part 2: Using DVRCast with Flash Media Live Encoder 3
  • Understanding live DVR – Part 1: Implementing a live DVR player

Flash Media Server Forum

More
05/21/2013 AMS on Centos
08/04/2010 How to show video frames as still preview image when roll over on seek bar just like Hulu?
05/20/2013 Adobe Media Server 5.1 in Amazon EC2 or CloudFront not working
05/18/2013 Problem with AMS kicking clients out with no error message

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement