简体   繁体   English

如何在Android中安全地存储在SD卡视频中?

[英]How to securely stored in SD Card Videos in Android?

I'm writing an application i want to read videos from SD Card.but i want to store videos (Mp4) files securely in SD Card. 我正在编写一个应用程序,我想从SD卡中读取视频。但是我想将视频(Mp4)文件安全地存储在SD卡中。 -Please give some links are examples. -请举一些例子。

Thanks, Chandu 谢谢,Chandu

If you store your content on the SD card, any application installed on the device can access it and anyone that can pop out the SD card and put it into another device can read it as well. 如果将内容存储在SD卡上,则设备上安装的任何应用程序都可以访问它,并且可以弹出SD卡并将其放入另一台设备的任何人也可以读取它。

Android devices, by design, give users the capability to do whatever they want with their devices and the CD card is considered common storage, available to all applications. 根据设计,Android设备为用户提供了使用其设备进行任何操作的能力,并且CD卡被认为是通用存储,可用于所有应用程序。 There is nothing you can do to prevent this, short of encrypting the content (and then you still need to put the keys somewhere...). 除了加密内容(您仍然需要将密钥放在某处...)之外,您无法采取任何措施来防止这种情况。 All you can do is make it more difficult to get to your content; 您所能做的就是使获取内容变得更加困难。 if the device can access it, a determined attacker can as well by reverse engineering the hoops you're making the application go through. 如果设备可以访问它,则坚定的攻击者也可以通过对您正在使应用程序通过的箍进行反向工程来进行攻击。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM