Stream capture software providers are trying many ways to capture and archive video delivered to Adobe Flash. Today, very few of these “rippers” support RTMP (Real-Time Messaging Protocol) ? the protocol used by Flash Media Server (FMS).

Adobe Flash Media Server 3.0 and Adobe Flash Player 9,0,115 introduced the new RTMPE protocol – a real-time encryption solution to help prevent stream ripping from Flash. Today this version of Adobe Flash player has been adopted by over 86% of internet-connected computers and Adobe Flash Media Server 3 is supported by all Content Delivery Networks (CDN).

RTMPE and RTMPTE (the tunneled version) should be combined with SWF Verification to provide the maximum content protection. Some stream capture software providers appear to circumvent RTMPE by using an RTMP connection and spoofing the URI used to connect to FMS, to appear as if it has made an RTMPE connection. This solution does not break RTMPE, and there are ways to prevent such software from accessing your content. This document will discuss those methods in more detail.

There are 3 ways to help prevent this activity:
Enable SWF Verification.
Use RTMPE and deny non-RTMPE connections.
Encrypt video assets with Adobe Flash Media Rights Management Server (FMRMS) (limited to Adobe AIR solutions)
Enabling SWF Verification
You can configure FMS to verify swf files after clients connect to an application. FMS will disconnect any swfs sending invalid bytes. This ensures that only your swfs can connect to your application. SWF verification requires FMS 3.0 or later and Flash Player 9.0.115 or later. See the LiveDocs for more specific information on SWF verification.
For optimal security, enable the SWF verification functionality and ensure the <FinalHashTimeout> tag is configured when enabled. The <FinalHashTimeout> specifies the maximum time (in seconds) FMS is willing to wait to receive the last SWF verification byte. FMS will disconnect the client if it does not receive all the SWF verification bytes within this timeout.
Configure SWF verification for applications:
Create a backup of the %FMS_Install%/conf/_defaultRoot_/_defaultVHost_/Application.xml file.
Open the Application.xml and locate the <SWFVerification> tag.
Set the “enabled” attribute on the <SWFVerification> tag to “true”.
Specify the location of the folder containing the verification SWFs in the <SWFFolder>
Note: If <SWFFolder> is empty or missing, FMS will look for the SWFs in application_directory\SWFs
Add the <FinalHashTimeout> tag within <SWFVerification> tags.
Note: This will force the replay software to become disconnected after this amount of time.
Set a default value of 20 seconds.
Note: You have to consider your target audience when setting the appropriate timeout value. Setting the value too low can adversely affect low bandwidth connections (e.g. modem users) because the longer it takes to download the swf, the greater the possibility of FMS reaching the timeout and prematurely disconnecting the client. However, setting a longer timeout means potentially allowing rippers to rip more content.
<Application>
   <SWFVerification enabled="true">
      <SWFFolder></SWFFolder>
      <FinalHashTimeout>20</FinalHashTimeout>
   </SWFVerification>
</Application>Adobe has released an article on the Flash Media Server Developer Center that contains a number of alternate solutions for protecting your content against replay attacks as well as other forms of content theft. You can download it here: http://www.adobe.com/devnet/flashmediaserver/articles/protecting_video_fms.html.
Use RTMPE and deny non-RTMPE connections
Stream capture software can use an RTMP connection to rip streams. Adobe recommends using RTMPE in your application and disallowing all other protocols. You can use one of the following methods to disable any non-RTMPE connections.
Note: These solutions are only applicable for Flash Media Interactive Server (FMIS) edition. For Flash Media Streaming Server (FMSS) edition, you should use SWF verification to protect against stream capture software.
Use customized Server-Side ActionScript (SSAS).
Use Access and/or Authorization Plug-ins.
Creating a custom server side script
To deploy this solution on FMIS, your application requires custom SSAS (e.g. main.asc). It?s recommended that only experienced developers deploy and test this solution.
Add the following within the application.onConnect handler
application.onConnect = function(clientObj) {
//only allow rtmpe and rtmpte connections
if(clientObj.protocol == "rtmpe") || (clientObj.protocol == "rtmpte"){
     return true;
}
return false
}Note: Adobe does not recommend using the URI to perform protocol checking because it can be spoofed. The best practice is to use the SSAS properties provided by FMS.
Save the SSAS and restart FMS.
Sample Access and Authorization Plug-ins
The adaptors.zip file contains sample C code for Access and Authorization adaptor. Adobe recommends experienced developers integrate this code with existing plug-in code for their FMIS servers. Consult the LiveDocs for more information on using plug-ins with FMS.
Encrypting video assets with FMRMS
FMRMS is a stand-alone server which allows content owners to protect media content delivered to Adobe Media Player and AIR applications. Consult the LiveDocs for more information on encrypting video assets and the DRM (digital rights management) capabilities of FMRMS.
Additional Information
White Paper: Video content protection measures enabled by FMS 3
http://xinsync.xju.edu.cn/index.php/archives/3004

转载于:https://www.cnblogs.com/AndySong/archive/2009/05/17/1458753.html

How to protect video content (Flash Media Server)相关推荐

  1. 关于Flash Media Server

    原 Flash Communication Server 已经正式改名为 Flash Media Server. Flash Media Server 2.0 的最新消息 http://macrome ...

  2. flash media server播放实时视频流

    标签: 图2.连接到电脑的所有摄像头 注意:你可以使用多种摄像头甚至是数字视频录像机来捕获视频.正如FME支持文档中所阐述的那样:Flash Media Live Encoder被用来和微软遭人抱怨的 ...

  3. FMS(Flash Media Server)共享内存问题解决

    FMS(Flash Media Server)共享内存问题解决 1)FMS报错信息 Apr 16 10:21:56 LSCRtest2 Server[21642]: Process (21642) : ...

  4. Flash Media Server安装

    1.什么是Flash Media Server ? 简称FMS.服务器是用于用户之间相互通讯的新平台;它集成了Flash多媒体交互的特性;又添加了实时音频和实时数据流等新特色.. 使用该平台,你可以通 ...

  5. FMS4.5 (Flash media server)视频服务器安装和配置以及pomelo聊天室的调用

    CentOS 6.2安装Flash Media Server 4.5 简而言之,Adobe的FMS是一个多媒体应用平台,在这个平台上,可以实现多媒体流的点播.直播.交互等多种应用,由于Adobe公司在 ...

  6. java代码去连接flash media server服务器_flash media server 第一课:Hello world!

    client-server架构 FMS是基于RTMP协议的client-server架构. 客户端的应用由flash或是flex搭建,运行在flash player或是AIR上,服务器端运行在服务器上 ...

  7. flash media server和kv3000之间的矛盾。

    我买的是正版的kv3000. 我一直信任江民. 自从花了两天时间发现是kv3000致使flash media server不能正常工作之后,我把我的msn name改成了"江民老已" ...

  8. FLASH MEDIA SERVER破解版下载.

    点击下载 Flash Media Server 将传统的流媒体功能与灵活的开发环境结合起来,为最广泛的群体创建和提供创新的.交互式媒体应用.该组合使组织创建和交付广泛的媒体体验,包括传统的媒体交付应用 ...

  9. Learning Flash Media Server 3中文版-第4章之2/6

    Learning Flash Media Server 3中文版-第4章之2/6 2009年08月19日 [b]4.2.[/b][b]实例化远程共享对像[/b] 这一章将以最少的代码来展示三种不同的远 ...

最新文章

  1. 一个GDIPlus的Bug -- OutofMemory异常
  2. DELPHI replace into 语句的语法错误 解决方法
  3. golang常用技巧
  4. mysql 哨兵模式_Redis讲解主从复制和哨兵模式
  5. 树莓派AI视觉云台——1.树莓派Pi3简介
  6. Java初阶知识总结
  7. 解决报错: No candidates found for method call XXXX (方法没有调用者)
  8. 双目测距数学原理详解(转载)
  9. silverlight 自定义资源整理(待后续补充)
  10. Windows域策略设置 IE信任站点【全域策略生效】
  11. 新版手机浏览器_Firefox手机浏览器app下载安装_Firefox手机浏览器软件最新版免费下载...
  12. ubuntu开机直接进入命令行模式
  13. 从程序员到项目经理(7):程序员加油站 -- 完美主义也是一种错
  14. 什么是NFV?什么是SDN?他与SDN的区别是什么
  15. 为什么打工人 996 会猝死,而企业家 007 却不会?
  16. dimens文件生成器使用方法
  17. java科学计算器代码_用JAVA编写的科学计算器源代码是什么?
  18. coreldraw x8的序列号无效在哪里找?绿色安装教程
  19. Ubuntu环境下挂载新硬盘
  20. 不同平方的电线都能带动哪些家用电器

热门文章

  1. linux格式化文件,无需格式化就可以转换文件系统
  2. python 分数序列求和公式_Python分数序列求和,编程练习题实例二十四
  3. gen_caltab自治标定板
  4. minui 向div放html,c# – 如何添加css类到html通用控件div?
  5. java plc通讯_树莓派+西门子PLC+Aliyun
  6. 办公用笔记本电脑哪个好_北京中仓红色办公沙发哪个品牌好
  7. Intellij IDEA 中无法下载 Cloud Toolkit 问题解决
  8. 埃森哲为施耐德电气打造数字工厂,加速产业物联网开发
  9. 再读UNPv1:复习、实践、小结
  10. 【GIT】Github上传本地代码详解