如何加密MP3文件存储它并将存储的文件流式传输到客户端。 [英] How to encrypt an MP3 file store it and stream the stored one to the client side.

查看:143
本文介绍了如何加密MP3文件存储它并将存储的文件流式传输到客户端。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ASP.net中,我希望以加密形式存储MP3文件,并在请求时在客户端传输相同内容,以便无法下载但只能听取。



关于如何做的任何建议?



我尝试过的方法:



我不知道如何开始这个。

请帮忙!

In ASP.net, I want to store MP3 file in encrypted form and stream the same on client side when requested, so that it can not be downloaded but listened.

Any advice on how to do this?

What I have tried:

I have no idea on how to start with this.
Please help!

推荐答案

一些概念:

- MP3是一种标准文件格式,可以在任何网络浏览器上播放。

- 以.mp3结尾的文件名并不意味着该文件是mp3文件格式,它只是一个方便的名称来表示你应该是什么文件。

- 加密的mp3文件不再是mp3,它是......加密文件。你需要解密才能播放它。

- 在客户端播放加密的mp3文件意味着解密文件。

- 在客户端播放mp3,你需要提供一种方法来解密文件,或者是一个特殊的玩家。



- 在客户端播放mp3意味着下载。
A few concepts:
- MP3 is a standard file format that can be played on any web browser.
- a file name that end with .mp3 does not imply that the file is mp3 file format, it is just convenient name to indicate you what is supposed to be the file.
- An encrypted mp3 file is not mp3 anymore, it is ... an encrypted file. you need to decrypt it in order to play it.
- Playing the encrypted mp3 file on client imply decrypting the file.
- to play the mp3 on client side, you need to provide a way to decrypt the file, or a special player that do the trick.

- Playing an mp3 on client side imply download.


这篇关于如何加密MP3文件存储它并将存储的文件流式传输到客户端。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆