Is there a unique "documents" directory for each device app?

Just for my own information/knowledge, when I create a local file using this line:

system.pathForFile( [file], system.DocumentsDirectory )

Does each app on the actual device have its own unique “documents” directory, or is there a core documents directory for all? If there’s just one core directory where other apps are storing local files, should I thus name my file(s) very unique and long names, to avoid possible over-writing by another app? Something like “scores.txt” could easily be duplicated by another app, so I’m guessing Apple has implemented some unique key ID, or else individual folders (like sandboxes) for each app.

Obviously note that I’m curious about the “system.DocumentsDirectory” because I’ll be writing files here, not just reading them (in which case I would use the default “system.ResourcesDirectory” which presents no security holds).

Can anybody elaborate on this technical issue?

Thanks!
[import]uid: 9747 topic_id: 5784 reply_id: 305784[/import]