Where to put common writable application files?

后端 未结 4 1369
感情败类
感情败类 2020-12-08 22:03

I thought that CSIDL_COMMON_APPDATA\\company\\product should be the place to put files that are common for all users of the application and that the application

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 22:19

    Modify just the security on a specific sub-directory of the AppData directory (this is from the link you provided):

    CSIDL_COMMON_APPDATA This folder should be used for application data that is not user specific. For example, an application may store a spell check dictionary, a database of clip-art or a log file in the CSIDL_COMMON_APPDATA folder. This information will not roam and is available to anyone using the computer. By default, this location is read-only for normal (non-admin, non-power) Users. If an application requires normal Users to have write access to an application specific subdirectory of CSIDL_COMMON_APPDATA, then the application must explicitly modify the security on that sub-directory during application setup. The modified security must be documented in the Vendor Questionnaire.

提交回复
热议问题