密码保护文件在android [英] Password Protection of file in android
问题描述
简短答案是否。这是不可能的。文件在SD卡上存储为1和0的数组,因此每个程序都可以访问SD卡并读取数据。加密是保护您的数据的最佳方法。
I would like to give some kind of protection to my files either stored in SDCard or in application sandbox. Currently I am using Cipher to encrypt or decrypt any file. Problem with using Cipher is time. It takes lots of time if file is large. Like currently I am encrypting a video file which takes more than 4 minutes to decrypt. I want to know that Can we apply some kind of password protection to file without encrypting ? If anyone knows how can we do that, please let me know.
Short answer is NO. That is not possible. File is on SD card stored as "array of 1 and 0" so each program can access SD card and read your data. Encryption is best way to keep your data secret.
这篇关于密码保护文件在android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!