简体   繁体   English

如何使Android USB密码受保护?

[英]How to make Android USB password protected?

I want to make my tablet USB drive password protected so that when some one connect with the USB it will asked for password and if password is matched then only it will access data from the SD Card. 我想为平板电脑的USB驱动器设置密码保护,以便当有人通过USB连接时会要求输入密码,如果密码匹配,则只有它才能访问SD卡中的数据。 In short user will not able to access USB drive without password? 简而言之,如果没有密码,用户将无法访问USB驱动器?

You are welcome to download the Android source code, modify it to have this feature, compile that source code and put it in some ROM mod for your device, then install that ROM mod on your device. 欢迎您下载Android源代码,对其进行修改以具有此功能,然后编译该源代码并将其放入设备的ROM mod中,然后在设备上安装该ROM mod。

This, of course, would only effectively protect external storage that is not removable. 当然,这只会有效地保护不可移动的外部存储。 If you truly mean "SD Card", then anyone with sufficient motor skills will be able to remove the card from the device and use its contents as desired. 如果您的确是“ SD卡”,那么任何具有足够运动技能的人都可以从设备中删除卡,并根据需要使用其中的内容。

As Doomsknight notes, you are welcome to encrypt your own app's files on external storage, but that is all you will be able to accomplish using simply the Android SDK. 正如Doomsknight所说,我们欢迎您在外部存储设备上加密自己的应用程序文件,但这仅是使用Android SDK即可完成的全部工作。

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

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