如何保护的MP3文件读取或复制在Android? [英] How to protect the mp3 file from read or copy on Android?
问题描述
我在我的应用程序的根文件夹中的MP3文件,但一些用户具有root权限,他们可以播放或拷贝。结果
我要保护我的文件,只是在我的应用程序中使用它们。结果
我怎样才能做到这一点?结果
归档是不是一个选项。
I have mp3 files in root folder of my app, but some users have root rights and they can play or copy.
I want to protect my files, use them just in my app.
How can I do this?
Archiving is not a option.
推荐答案
有没有办法从复制prevent用户,修改或在文件系统删除文件,如果他们有root权限。
There is no way to prevent users from copying, modifying or deleting files on the filesystem if they have root access.
归档将是唯一的出路,因为转换您的文件传回的MP3会采取一些努力(以取回包装算法扭转你的Android应用程序)。
Archiving would be the only way, because converting your files back to mp3 would take some effort (reversing your android application in order to retrieve the packing algorithm).
这篇关于如何保护的MP3文件读取或复制在Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!