Application Compatibility for Windows Vista
At this point, I'm not sure if there exists a the standard way to do this but I found out that if you want to share data then store it in a location specified by an environment variable and set the ACL on the file for BUILTIN\Users to Full access for that file. But that also means that anyone can modify this file. You can also write to the commondata which apparently is the programdata directory under the root (but not visible if you try to dir it on the command line). Otherwise, only the creator of the file will be allowed to modify it. You could set individual ACLs if you wanted to. That's an exercise left up to you. You can also use the expandenvironmentvariables("%PUBLIC%) to get you to the public directory. I haven't tried playing with a shared file there yet.
I did notice an oddity that if I delete the file in cmd prompt once it was "unprotected" that I was not able to create that file again. That was strange. I haven't tried to programatically delete it yet.
At this point this isn't an "official" answer.
JeffRozar wrote:
We just added Everyone with Full Control.
There are potential security and stability issues with that. It's better to give the built in Users group Modify permissions (i.e. Read/Write only).
AndyCadley wrote:
JeffRozar wrote:
We just added Everyone with Full Control. There are potential security and stability issues with that. It's better to give the built in Users group Modify permissions (i.e. Read/Write only).