开发者

Encrypt the song url in flex audio player

开发者 https://www.devze.com 2022-12-19 00:32 出处:网络
HI am new开发者_开发百科 to AMFPHP. am creating flex audio player. Whenever am playing the song in my player. the song url will be displayed by the use of FIREBUG addons..

HI am new开发者_开发百科 to AMFPHP. am creating flex audio player. Whenever am playing the song in my player. the song url will be displayed by the use of FIREBUG addons.. How can i encrypt and decrypt that url using AMFPHP or PHP. Some flash audio players done this job using AMFPH.. Edit/Delete Message


You can't. Firebug's Net tab sees all HTTP[S] net traffic. If you want to stream a song to the browser without an HTTP URL being visible in Firebug, you would have to use a different protocol to HTTP — typically RTMP.

The way some sites protect HTTP streams is to use a one-time URL, so that the player generates an authentication token (typically using crypto hashing) and that can only be used to download the stream once; it is served with Cache-Control: no-cache header to stop the browser storing it on disc and making it available to the user for download from the Net tab. Defeating caching of course does mean that you'll serving a lot more data unnecessarily. And it's still pretty easy to circumvent.

Don't imagine you can solve the Copy Protection Problem. Even “protected” RTMPE is very much downloadable.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号