Security - writing log and configuration files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QWxleA==?=

    Security - writing log and configuration files

    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\Applicato n 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\Applicati on
    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
Working...