Recommended file location that will be editable by all Windows users?

I create a product that includes

  • Windows service caching data on the local machine,
  • the user processes the data and writes his own data,
  • the service, in turn, returns data to the server.

Where should I put data files for this so that they are accessible to all users and read / write? The software will work in a corporate environment where desktop computers are sometimes quite blocked, so, for example, some users will not have write permissions to C: \ Program Files.

I do not think that C: \ Documents and Settings \ All Users \ Application Data \ is a good candidate - I think that by default only Administrators and Power users have write access here.

I could use every custom Application Data folder, but that would be a little painful, as different people could use each machine ... so it would be easier if there was only one common location.

I am developing in C # .net 2005, but this is probably not very relevant.

+3
source share
1 answer

, . ( ) SHGetSpecialFolderLocation, c:\users\public\AppData ( , , Vista , , Windows 7) . , API ACL .

ACL , .

c:\users\public\AppData . ACL . , ACL, . .

+2

Source: https://habr.com/ru/post/1729160/


All Articles