Where to store private files so that it remains hidden from other users and application? RRS feed

  • General discussion

  • Hello,

    I need to store a private file which can only be seen by my application and remains hidden for other users and app.

    I know there is Isolated Storage for that, but from this link I came to know that any third person can access location on win 8 which is:

    Roaming-enabled stores =


    Nonroaming stores =


    So what to do in this scenario?
    Please correct me is in case I  am misunderstanding it.

    Thanks in advance.

    • Edited by zee_patel Monday, June 9, 2014 7:47 AM
    Monday, June 9, 2014 7:46 AM

All replies

  • Isolated storage is on the phone, not in Windows Store apps.

    Other users and other Windows Store apps cannot see the data in your app's data storage (local folders, roaming folders, etc.) these files are locked to the user who created them's security.

    These directories are hidden and most users won't be aware of or try looking at the, but the user does have permissions for those directories and can read or write them from the desktop. The only way to keep data private from the user is to keep it off system. You can obfuscate it to make it difficult to parse, but you cannot prevent users from reading the files.


    Monday, June 9, 2014 2:02 PM
  • Hi Rob,

    Thanks for the reply, my scenario is exactly reverse to what you suggested. I need to keep some off system file on machine for offline use.

    What's the point to give user permission to that directory to read/write from desktop when it is app's individual storage?

    Tuesday, June 10, 2014 5:48 AM
  • The application is running under the user credentials (well kind of) so if the user shouldn't access the files the app cant neither. makes no sense if the user can access the files through the app but not through file explorer. although like rob said the folder is by default hidden so most users wont find it

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Tuesday, June 10, 2014 11:57 AM
  • It's not the app's storage, it's the user's storage.

    As Dave says, the app runs with a sub-set of the user's permissions. The app cannot access any data that the user cannot access.


    Tuesday, June 10, 2014 4:33 PM