TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to Stream mp3 files while not allowing downloads

1 点作者 wirddin大约 10 年前
I am building a streaming service, from mp3 files on my own server.<p>While testing, I&#x27;m using the the &lt;audio&gt; to stream it, while the file location&#x2F;path&#x2F;name is coming in from the database, but I&#x27;m not sure if it is the right way to do it.<p>I want to protect the streaming mp3 file from being downloaded, without actually using Flash ( I have read somewhere that file location is embedded inside the swf file, and it&#x27;s not that easy to download it off there ).<p>What I want to know is how SoundCloud and other streaming websites &#x2F; app do it in a more secure way. Include articles &#x2F; links to posts if possible.<p>Thanks! :)

1 comment

blueflow大约 10 年前
If you can stream it, you can also download it. The only thing that is done in protection is obfuscation of the traffic and the playing, f.e. with closed-source clients (like spotify)