I need to prevent others from accessing my phone via adb. Any way we can have password protection for adb connection?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Warning : HTML 1300 Navigation occured?
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
As long as the "USB debugging" (check it here) is disabled and phone is locked so no one can have the access to this option, no one can use your phone for adb connection.
Refer wipe data remotely for an ill fortunate situation.
Security Enhancements in Android 4.3
As far as I know, there's no way to set an extra password specific to adb access.
If you have USB debugging (adb) enabled, on Android 4.3 or later you need to manually accept the host computer on your device before debugging is enabled.
So unless somebody has access and PIN/password to your phone AND the computer you already authorized for USB debugging that phone, your phone should be safe. However, there are security holes such as this which means that if you're using an old device, maybe it's time for a custom ROM based on a recent version of Android.
With earlier versions of Android, I used an app called Delayed Lock with the "helper app" add-on (ROOT required), that automatically enabled/disabled USB debugging when you unlock/lock your phone.