J
James
Hi all,
I am new to .NET programming. I am wring a project, say FOOBAR, it
contains
3 executable files, say p1.exe, p2.exe, p3.exe, which will be installed
to
C:\Program Files\FOOBAR
The programs need read from a configuration file, say config.txt.
Normal users
could edit this file manually via say NotePad. The programs also write
log files
to hard drive.
My question is where to store the configuration file and those log
files, e.g.
C:\Documents and Settings\All Users\Application Data\FOOBAR
Initially, I want to store the config.txt in C:\Program Files\FOOBAR,
but then
I realized that normal users do not have permissions to modify the
files at that
directory.
Is there any standard/document on where to store application data and
what
permissions should we give to files/dirs?
Many thanks,
James
I am new to .NET programming. I am wring a project, say FOOBAR, it
contains
3 executable files, say p1.exe, p2.exe, p3.exe, which will be installed
to
C:\Program Files\FOOBAR
The programs need read from a configuration file, say config.txt.
Normal users
could edit this file manually via say NotePad. The programs also write
log files
to hard drive.
My question is where to store the configuration file and those log
files, e.g.
C:\Documents and Settings\All Users\Application Data\FOOBAR
Initially, I want to store the config.txt in C:\Program Files\FOOBAR,
but then
I realized that normal users do not have permissions to modify the
files at that
directory.
Is there any standard/document on where to store application data and
what
permissions should we give to files/dirs?
Many thanks,
James