2

I am building an Android app in which client is selling some mp3 files. Now my question is, when I copy these files in the resources folder, will they will be exposed when someone will explore the file system?

The reason why I am asking this question because I have seen application on Android market which can let you explore the android file system (you can also do this by attaching your device to your PC) and you can check what's in inside the application directory.

So if this is possible, how I can make sure my resources are secure?

Thanks.

itsaboutcode
  • 24,525
  • 45
  • 110
  • 156

1 Answers1

3

Now my question is, when I copy these files in the resources folder, will they will be exposed when someone will explore the file system?

Yes.

So if this is possible, how I can make sure my resources are secure?

You can't.

What you're asking for would only be possible on a trusted computing (a.k.a. treacherous computing) platform, which Android is not.

Zed
  • 3,387
  • 19
  • 14
  • it means that android app sandbox is not as secure as iOS? – itsaboutcode Mar 11 '11 at 16:43
  • 1
    @itsaboutcode: It means that you are trying to make your application secure from the user who owns the very machine that this application runs on. This is fundamentally impossible unless you have a trusted system (ie. a system that is trusted not to obey its owner). See links above. – Zed Mar 11 '11 at 16:55