Best directory to store application data with read\write rights for all users?

Posted by Wodzu on Stack Overflow See other posts from Stack Overflow or by Wodzu
Published on 2010-04-10T18:49:28Z Indexed on 2010/04/10 18:53 UTC
Read the original article Hit count: 207

Filed under:
|
|

Hi guys.

Until Windows Vista I was saving my application data into the directory where the program was located. The most common place was "C:\Program Files\MyApplication". As we know, under Vista and later the common user does't have rights to write under "Program Files" folder. So my first idea was to save the application data under "All Useres\Application Data" folder. But it seams that this folder has writing restrictions too!

So to sum up, my requirements are:

  • Folder should exist under Windows XP and above Microsoft's systems.
  • All useres of the system should read\write\creation rights to this folder and it subfolders and files.
  • I want to have only one copy of file\files for all useres.

Thanks for your time.

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about write