By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,105 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,105 IT Pros & Developers. It's quick & easy.

Security - writing log and configuration files

P: n/a
Hi all!

At the moment, I am transfering an application from Windows XP to Vista. As
I would like to make the application compliant with Vista, I am having some
questions:

1. ) A part of the application is writing logfile to a specified directoy
which lies under C:\Program Files\MyCompany\MyApp\Logfiles. Per default, the
write access for the "least privileged" user is not allowed in XP and Vista.
Is it okay if I modify the ACL during installation to allow the "modify"
privilege? Or should I write the log files to "All Users\Applicaton Data"?

2.) The configuration file of another application is placed in
%programfiles%\MyApp. Again, the "least privileged" user has no modify
permissions in this folder. As the configuration file will be changed, I
would like to store the Application file at "All Users\Application
Data\MyApp".
No UI settings are stored in this file. More common data like Workspace,
Language, loaded projects are stored in this file. Any objections?

Thanks for your help/suggestions
Alex
Oct 15 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.