我在SAMSUNG GALAXY 2手机上存储了一个重要文件（所以我可以在GO上编辑）。未经我的权限，我不希望别人访问此文件或文件。
I have stored an important document on the SDHC card on my Samsung Galaxy 2 phone (so that I can edit it on the go). I don't want others to access this file or document without my permission.
I know I can lock the phone but this option means that nothing could be done on the phone unless it is unlocked.
I want others to still make calls from my phone but not be able to access the memory card. (Letting others use my phone is an internal arrangement i.e. so that there is one point of contact when we are travelling together)
Is there a way to lock the memory card (with a password) but leave the phone unlocked?
Simply, use BoxCryptor.. It'll encrypt your files & folders with AES-256 standard (AES-256 is classified by the U.S. Government to protect xe2x80x9cTOP SECRETxe2x80x9d information). The best thing: You can use it on any platform: Android, iOS, Windows, Mac, Linux. So, you can sync your encrypted files with Dropbox, too.
Its free Android app: https://market.android.com/details?id=com.boxcryptor.android (Free version has limitation of Read-only access). You don't even need a rooted device whats not the case of fully free LUKS Manager. If your device is rooted & you also need write access without spending money, go for LUKS Manager, but you'll miss cross-platform access. So, my recommendation is paid BoxCryptor if you need write access.
With encryption, your files & folders will be safe even if your friends are hacker. With even fastest super computers, breaking AES-256 standard needs decades or even hundreds/thousands years (based on password strength & encryption passphrase).
Encryption is most probably the most appropriate solution for your case. Something along the lines of LUKSManager could be the right tool. Though you would need a rooted phone in any case and perhaps a modified kernel, too.
You cant lock, in your definition, the sdcard or one file. But you have some ways to protect your file.
The only safe way is, to encrypt it. If you lock your sdcard with a software, the thief can easily connect it to a pc and steal the file or even steal the whole sdcard.
Have you considered just removing the SD card from the phone and keeping it in a safe spot until you need to access your important files?
AFAIK there isn't a way to encrypt/protect a single file on an SD card. That leaves you looking at fully encrypting the card which Android doesn't support out of the box. Instead of that hassle, why not simply remove it? You don't need an SD card to use basic phone functions (calls, SMS) and many apps can either do without SD storage or be moved to internal storage. Your device requires you to power down and pull the battery to access the micro SD card slot; insertion or removal of the card and then powering the phone back on, though, shouldn't take you much longer than a minute.
Keep it simple, I say.
If your phone is rooted(which it may not), you might be able to unmount the card, altough I dont know if the system tries to remout it on itself after some period.