Einzelnen Beitrag anzeigen

generic

Registriert seit: 24. Mär 2004
Ort: bei Hannover
2.415 Beiträge
 
Delphi XE5 Professional
 
#7

AW: Ordner mit Schreibrechten für alle

  Alt 17. Feb 2011, 17:20
Wenn ich unter "CSIDL" im MSDN nachschaue, stoße ich hierauf:
Zitat:
CSIDL_COMMON_APPDATA
FOLDERID_ProgramData

Version 5.0. The file system directory that contains application data for all users. A typical path is C:\Documents and Settings\All Users\Application Data. This folder is used for application data that is not user specific. For example, an application can 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.
So wie ich das verstehe hat dort erst einmal jeder Benutzer Schreibrechte. Aber dann sollte man tunlichst einen programmspezifischen Unterordner anlegen.
Nein - ich lese das nicht aus der Beschreibung.
Hab auch gerade mal nachgeschaut, der Ordner hat keine Schreibrechte für User.

Es macht auch Sinn, dass es per Default so einen Ordner nicht mehr gibt.
Denn über so ein Ordner könnten sich Viren besser ausbreiten bzw. andere User betroffen werden.
Coding BOTT - Video Tutorials rund um das Programmieren - https://www.youtube.com/@codingbott
  Mit Zitat antworten Zitat