能不能自己给wma音乐设置密码保护

来源:百度知道 编辑:UC知道 时间:2024/05/09 08:17:28
网上下载的许多wma音乐都是有保护的,需要许可证才可以播放。我觉得这个功能不错,不知道我们自已录制的音乐能不能设置成有保护的。只有我的许可证才能播放?

哪个没必要啊,况且他们保护的方式和你想在电脑上的方式不一样,应该说现在你这样的想法还不太可能实现。

download.asp
<%
call downloadFile(replace(replace(Request("file"),"\",""),"/",""))
Function downloadFile(strFile)
' make sure you are on the latest MDAC version for this to work
' -------------------------------------------------------------
' get full path of specified file
strFilename = server.MapPath(strFile)
' clear the buffer
Response.Buffer = True
Response.Clear
' create stream
Set s = Server.CreateObject("ADODB.Stream")
s.Open
' Set as binary
s.Type = 1
' load in the file
on error resume next
' check the file exists