disable external storage on Android device
There is a situation when user wants to make possible to lock/disable external storage, in other words make it not mountable until this option enabled after password entered.
For instance when somebody's tablet has been stolen or lost when screen wasn't locked.
Even if data encrypted it will be still observable on the non-locked device, moreover data will appear as decrypted if device screen remains locked and device plugged to pc. PC will recognize external storage with the data decrypted on it.
Is the any way disable exte开发者_JS百科rnal storage programmatic?
Not from an application.
Sort of by modifying android itself, but if the device permits you to install your modified version of android someone else can probably install a version without this modification (such as a default version from the manufacturer)
Also if the storage is removable like an SDCARD or even a chip which a good rework facility could transplant, it can be moved to a different reader apparatus lacking this software block.
But if you are okay not permitting access until password or similar authentication has been done (and trust the encryption to be secure), then shouldn't that just be the process for unlocking the encryption?
精彩评论