且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

阻止用户下载音乐

更新时间:2023-11-28 09:15:04

正在播放歌曲===正在下载歌曲

习惯它.

编辑 (一个更有用的答案)

在您所描述的情况下,它很可能是Flash Media Server/Red5/Wowza,以RTMP格式传输音频(是的,有可以下载这些程序的程序),或者是Windows Media,它几乎是不可渗透的DRM(且受众群体有限)).实际上,FMS路线将是我将音乐传送到浏览器时需要采取的路线,并且需要将最大覆盖范围与某种程度的混淆处理很好地融合在一起,但是请注意,如果可以听的话,它最终还是可以解决的.可以复制.

i have been writing a music website for my customer using ASP.NET. Everything has been cool except I don't know how to prevent the users from downloadng the song which is being played. For example, I click "Heal the world" to play and while the song is playing, I dont't want the IDM download manager or other download programs appear the download dialog


any help for my question? I used this code to play the song

<embed type="application/x-mplayer2" 
src="files/funring/15.mp3" align="absbottom" />

And I don't want the IDM download appears as shown in the followwing image

The song is being played===The song is being downloaded

Get used to it.

EDIT (A more useful answer)

In all likelihood, in the case you describe, it's either a Flash Media Server/Red5/Wowza delivering audio as RTMP (yes, there are programs that can download these) or Windows Media and it's near inpenetrable DRM (and limited audience). Effectively the FMS route would be the one I would take were I shipping music to the browser and needed a good blend of max reach versus some level of obfuscation, however be aware that at the end of the day if it can be listened to, it can be copied.