2

is it possible to encrypt the sd card folder r not please help me

if it possible , what is the processor of encryption and decryption

not possible , let me know what can i do for folder security in android sdcard

My file is here :/mnt/sdcard/image1.jpeg.

So How to encrypt this file in android please help me and Android encryption support MBs r not

yoga
  • 131
  • 2
  • 2
  • 9

2 Answers2

1

is it possible to encrypt the sd card folder r not please help me

Only by modifying the operating system and creating your own custom ROM.

not possible , let me know what can i do for folder security in android sdcard

If your objective is to allow the user to defend against other people stealing the user's data, you can encrypt individual files as part of how you store them. For example, you could use SQLCipher for Android to encrypt a SQLite database that you put on external storage.

If your objective is to hide data from the user, that is implausible. Your encryption algorithm and key will be in your app, which anyone can examine and use to get at the encrypted data. If you do not want users having access to certain pieces of data, do not put that data on the user's device.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • My file is here :/mnt/sdcard/image1.jpeg. So How to encrypt this file in android please help me and Android encryption support MBs r not – yoga Nov 07 '12 at 14:59
  • @yoga: "So How to encrypt this file in android" -- use `javax.crypto` or any other Java encryption option. "Android encryption support MBs r not" -- you might wish to see if there is another Android developer support option available to you in your native language: http://www.andglobe.com. – CommonsWare Nov 07 '12 at 15:02
1

Yes, you can encrypt and decrypt the files and folders in your sd card using java libraries. You can implement through javax.security package.

Below is the sample of Encryption and Decryption in java

Example 1

Example2

Example 3

Example 4

Take a Look at this Example

RajeshVijayakumar
  • 10,281
  • 11
  • 57
  • 84
  • My file is this :/mnt/sdcard/image1.jpeg. or /mnt/sdcard/Safe So How to encrypt this file in android please help me and Android encryption support MBs r not – yoga Nov 07 '12 at 14:58
  • Take a look at this : http://stackoverflow.com/questions/10782187/how-to-encrypt-file-from-sd-card-using-aes-in-android – RajeshVijayakumar Nov 07 '12 at 16:48