Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

393 lines
9.9 KiB

  1. ; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. ;
  3. ; File System ACL definition file
  4. ;
  5. ; Use this file to set the ACL's on files and directories to the desired
  6. ; security. The format of each entry is:
  7. ;
  8. ; [DirPath]
  9. ; Domain\Account = [Predefined Access | FileAccessString [, DirAccessString]]
  10. ;
  11. ; [FilePath]
  12. ; Domain\Account = [Predefined Access | FileAccessString]
  13. ;
  14. ; where:
  15. ;
  16. ; FilePath is the path of the file or directory to set. This is in the
  17. ; format of a file path name. The file path may contain environment
  18. ; variables (such as %systemroot%) which will be expanded on the
  19. ; system running tha application.
  20. ;
  21. ; the last item in the FilePath string may be a directory, file,
  22. ; wildcard file or an exclamation ("!"). In the case of an exclamation
  23. ; all files and sub-directories of the preceeding path will be set
  24. ; to the specified security.
  25. ;
  26. ; for example:
  27. ;
  28. ; [%systemroot%\system32\!]
  29. ;
  30. ; would assign the security description of that section
  31. ; to all files and sub-directories UNDER the
  32. ; %systemroot\system32 directory as well as to the
  33. ; %systemroot\system32 directory itself. To assign
  34. ; security to just the files in that directory ,
  35. ; an entry such as the following would be needed:
  36. ;
  37. ; [%systemroot%\system32\*.*]
  38. ;
  39. ;
  40. ; Domain\Account
  41. ; specifies the account to recieve the specified access for that
  42. ; file. Account may be an account or a group. For Example to give
  43. ; permissions to all administrator accounts, the:
  44. ;
  45. ; BUILTIN\Administrators
  46. ;
  47. ; would be the correct entry.
  48. ;
  49. ; access string is defined as one of the following:
  50. ;
  51. ; a combination of access chars
  52. ;
  53. ; access
  54. ; char File Access Dir Access
  55. ; ---- ---------------- ----------------
  56. ; R = Read Data List Directory
  57. ; W = Write Data Add File
  58. ; X = Execute File Traverse Directory
  59. ; D = Delete Delete
  60. ; P = Change Perms Change Perms
  61. ; O = Take Ownership Take Ownership
  62. ;
  63. ; e.g. SYSTEM = RWXD
  64. ;
  65. ;
  66. ; there are also some predefined combination access keys:
  67. ;
  68. ; NONE = no access
  69. ; ALL = RWXDPO
  70. ;
  71. ; Standard Directory & File access references are:
  72. ;
  73. ; Access Access Granted
  74. ; Name (Dir)(File)
  75. ; ----------- ------------------
  76. ; FullControl = (ALL)(ALL)
  77. ; Change = (RWXD)(RWXD)
  78. ; AddRead = (RWX)(RX)
  79. ; Read = (RX)(RX)
  80. ; Add = (WX)(none specified)
  81. ; List = (RX)(none specified)
  82. ; NoAccess = (NONE)(NONE)
  83. ;
  84. ;
  85. ; * * * * * * * * * * * * N O T E * * * * * * * * * * * * * * * * *
  86. ;
  87. ; For correct application of the access control, the more restrictive
  88. ; access entries must be placed ahead of (on top of) the more permissive
  89. ; access. The correct "sort" order would be:
  90. ;
  91. ; NoAccess, List, Add, Read, AddRead, Change, FullControl
  92. ;
  93. ;
  94. ; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  95. ;
  96. ; NOTE: the security items are applied from the top of the file to the
  97. ; bottom. Because of that, top level directory entries with more re-
  98. ; strictive security should be at the top of the file and less restric-
  99. ; tive entries to specific users and/or specific files should be listed
  100. ; next.
  101. ;
  102. ; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  103. [%SystemDrive%\]
  104. Everyone = RWX
  105. BUILTIN\Administrators = FullControl
  106. CREATOR OWNER = FullControl
  107. SYSTEM = FullControl
  108. [%SystemDrive%\*.*]
  109. Everyone = RWX
  110. [%SystemDrive%\IO.SYS]
  111. Everyone = Change
  112. BUILTIN\Administrators = FullControl
  113. SYSTEM = FullControl
  114. [%SystemDrive%\MSDOS.SYS]
  115. Everyone = Change
  116. BUILTIN\Administrators = FullControl
  117. SYSTEM = FullControl
  118. [%SystemDrive%\BOOT.INI]
  119. BUILTIN\Administrators = FullControl
  120. SYSTEM = FullControl
  121. [%SystemDrive%\NTDETECT.COM]
  122. BUILTIN\Administrators = FullControl
  123. SYSTEM = FullControl
  124. [%SystemDrive%\NTLDR.]
  125. BUILTIN\Administrators = FullControl
  126. SYSTEM = FullControl
  127. [%SystemDrive%\AUTOEXEC.BAT]
  128. Everyone = Read
  129. BUILTIN\Administrators = FullControl
  130. SYSTEM = FullControl
  131. [%SystemDrive%\CONFIG.SYS]
  132. Everyone = Read
  133. BUILTIN\Administrators = FullControl
  134. SYSTEM = FullControl
  135. [%SystemDrive%\TEMP\!]
  136. Everyone = Change
  137. BUILTIN\Administrators = FullControl
  138. CREATOR OWNER = FullControl
  139. SYSTEM = FullControl
  140. ;[%SystemDrive%\USERS\!]
  141. ;Everyone = List
  142. ;BUILTIN\Administrators = FullControl
  143. ;SYSTEM = FullControl
  144. ;[%SystemDrive%\USERS\DEFAULT\!]
  145. ;Everyone = RWX
  146. ;CREATOR OWNER = FullControl
  147. ;SYSTEM = FullControl
  148. ;[%SystemDrive%\WIN32APP\!]
  149. ;Everyone = Read
  150. ;BUILTIN\Administrators = FullControl
  151. ;CREATOR OWNER = FullControl
  152. ;SYSTEM = FullControl
  153. ;[%SystemDrive%\Profiles\!]
  154. ;Everyone = RWX,R
  155. ;BUILTIN\Administrators = FullControl
  156. ;CREATOR OWNER = RX,RW
  157. ;SYSTEM = FullControl
  158. [%SystemRoot%\!]
  159. Everyone = Change
  160. BUILTIN\Administrators = FullControl
  161. CREATOR OWNER = FullControl
  162. SYSTEM = FullControl
  163. [%SystemRoot%\*.*]
  164. Everyone = Read
  165. BUILTIN\Administrators = FullControl
  166. SYSTEM = FullControl
  167. [%SystemRoot%\*.INI]
  168. Everyone = Change
  169. BUILTIN\Administrators = FullControl
  170. SYSTEM = FullControl
  171. ;[%SystemRoot%\LOCALMON.DLL]
  172. ;Everyone = Read
  173. ;BUILTIN\Power Users = Change
  174. ;BUILTIN\Administrators = FullControl
  175. ;SYSTEM = FullControl
  176. ;[%SystemRoot%\PRINTMAN.HLP]
  177. ;Everyone = Read
  178. ;BUILTIN\Power Users = Change
  179. ;BUILTIN\Administrators = FullControl
  180. ;SYSTEM = FullControl
  181. [%SystemRoot%\REPAIR\!]
  182. BUILTIN\Administrators = FullControl
  183. [%SystemRoot%\SYSTEM\*.*]
  184. Everyone = Read
  185. BUILTIN\Administrators = FullControl
  186. CREATOR OWNER = FullControl
  187. SYSTEM = FullControl
  188. [%SystemRoot%\SYSTEM32\*.*]
  189. Everyone = Read
  190. BUILTIN\Administrators = FullControl
  191. CREATOR OWNER = FullControl
  192. SYSTEM = FullControl
  193. [%SystemRoot%\SYSTEM32\AUTOEXEC.NT]
  194. Everyone = Change
  195. BUILTIN\Administrators = FullControl
  196. SYSTEM = FullControl
  197. [%SystemRoot%\SYSTEM32\CMOS.RAM]
  198. Everyone = Change
  199. BUILTIN\Administrators = FullControl
  200. SYSTEM = FullControl
  201. [%SystemRoot%\SYSTEM32\CONFIG.NT]
  202. Everyone = Change
  203. BUILTIN\Administrators = FullControl
  204. SYSTEM = FullControl
  205. [%SystemRoot%\SYSTEM32\MIDIMAP.CFG]
  206. Everyone = Change
  207. BUILTIN\Administrators = FullControl
  208. SYSTEM = FullControl
  209. ;[%SystemRoot%\SYSTEM32\PASSPORT.MID]
  210. ;Everyone = FullControl
  211. [%SystemRoot%\SYSTEM32\CONFIG]
  212. BUILTIN\Administrators = FullControl
  213. CREATOR OWNER = FullControl
  214. Everyone = List
  215. SYSTEM = FullControl
  216. [%SystemRoot%\SYSTEM32\CONFIG\*.*]
  217. Everyone = List
  218. BUILTIN\Administrators = FullControl
  219. CREATOR OWNER = FullControl
  220. SYSTEM = Fullontrol
  221. [%SystemRoot%\SYSTEM32\CONFIG\DEFAULT.LOG]
  222. Everyone = FullControl
  223. [%SystemRoot%\SYSTEM32\CONFIG\SAM.]
  224. Everyone = FullControl
  225. [%SystemRoot%\SYSTEM32\CONFIG\SAM.LOG]
  226. Everyone = FullControl
  227. [%SystemRoot%\SYSTEM32\CONFIG\SECURITY.]
  228. Everyone = FullControl
  229. [%SystemRoot%\SYSTEM32\CONFIG\SECURITY.LOG]
  230. Everyone = FullControl
  231. [%SystemRoot%\SYSTEM32\CONFIG\SYSTEM.]
  232. Everyone = FullControl
  233. [%SystemRoot%\SYSTEM32\CONFIG\SYSTEM.ALT]
  234. Everyone = FullControl
  235. [%SystemRoot%\SYSTEM32\CONFIG\SYSTEM.LOG]
  236. Everyone = FullControl
  237. ;[%SystemRoot%\SYSTEM32\CONFIG\USERDEF.]
  238. ;Everyone = Read
  239. ;SYSTEM = Change
  240. ;BUILTIN\Administrators = FullControl
  241. [%SystemRoot%\SYSTEM32\DHCP\!]
  242. Everyone = Read
  243. BUILTIN\Power Users = Change
  244. BUILTIN\Administrators = FullControl
  245. CREATOR OWNER = FullControl
  246. SYSTEM = FullControl
  247. [%SystemRoot%\SYSTEM32\DRIVERS\!]
  248. Everyone = Read
  249. BUILTIN\Administrators = FullControl
  250. CREATOR OWNER = FullControl
  251. SYSTEM = FullControl
  252. [%SystemRoot%\SYSTEM32\OS2\OSO001.009]
  253. Everyone = Read
  254. BUILTIN\Administrators = FullControl
  255. SYSTEM = FullControl
  256. [%SystemRoot%\SYSTEM32\OS2\DLL\DOSCALLS.DLL]
  257. Everyone = Read
  258. BUILTIN\Administrators = FullControl
  259. SYSTEM = FullControl
  260. [%SystemRoot%\SYSTEM32\OS2\DLL\NETAPI.DLL]
  261. Everyone = FullControl
  262. [%SystemRoot%\SYSTEM32\RAS]
  263. Everyone = Read
  264. BUILTIN\Power Users = Change
  265. BUILTIN\Administrators = FullControl
  266. CREATOR OWNER = FullControl
  267. SYSTEM = FullControl
  268. [%SystemRoot%\SYSTEM32\RAS\*.*]
  269. Everyone = Read
  270. BUILTIN\Administrators = FullControl
  271. SYSTEM = FullControl
  272. [%SystemRoot%\SYSTEM32\REPL\!]
  273. Everyone = Read
  274. BUILTIN\Administrators = FullControl
  275. CREATOR OWNER = FullControl
  276. SYSTEM = FullControl
  277. [%SystemRoot%\SYSTEM32\REPL\EXPORT]
  278. Everyone = Change
  279. BUILTIN\Administrators = FullControl
  280. CREATOR OWNER = FullControl
  281. SYSTEM = FullControl
  282. [%SystemRoot%\SYSTEM32\REPL\EXPORT\*.*]
  283. CREATOR OWNER = FullControl
  284. BUILTIN\Administrators = FullControl
  285. Everyone = Change
  286. SYSTEM = FullControl
  287. [%SystemRoot%\SYSTEM32\REPL\EXPORT\SCRIPTS]
  288. Everyone = Read
  289. BUILTIN\Replicator = Change
  290. BUILTIN\Administrators = FullControl
  291. CREATOR OWNER = FullControl
  292. SYSTEM = FullControl
  293. [%SystemRoot%\SYSTEM32\REPL\EXPORT\SCRIPTS\*.*]
  294. Everyone = Read
  295. BUILTIN\Replicator = Change
  296. BUILTIN\Administrators = FullControl
  297. CREATOR OWNER = FullControl
  298. SYSTEM = FullControl
  299. [%SystemRoot%\SYSTEM32\REPL\IMPORT]
  300. Everyone = Change
  301. BUILTIN\Administrators = FullControl
  302. CREATOR OWNER = FullControl
  303. SYSTEM = FullControl
  304. [%SystemRoot%\SYSTEM32\REPL\IMPORT\*.*]
  305. Everyone = Change
  306. BUILTIN\Administrators = FullControl
  307. CREATOR OWNER = FullControl
  308. SYSTEM = FullControl
  309. [%SystemRoot%\SYSTEM32\REPL\IMPORT\SCRIPTS]
  310. Everyone = Read
  311. BUILTIN\Replicator = Change
  312. BUILTIN\Administrators = FullControl
  313. CREATOR OWNER = FullControl
  314. SYSTEM = FullControl
  315. [%SystemRoot%\SYSTEM32\REPL\IMPORT\SCRIPTS\*.*]
  316. Everyone = Read
  317. BUILTIN\Replicator = Change
  318. BUILTIN\Administrators = FullControl
  319. CREATOR OWNER = FullControl
  320. SYSTEM = FullControl
  321. [%SystemRoot%\SYSTEM32\SPOOL\!]
  322. Everyone = Read
  323. BUILTIN\Power Users = Change
  324. BUILTIN\Administrators = FullControl
  325. CREATOR OWNER = FullControl
  326. SYSTEM = FullControl
  327. [%SystemRoot%\SYSTEM32\SPOOL\DRIVERS\W32X86\1]
  328. Everyone = FullControl
  329. [%SystemRoot%\SYSTEM32\SPOOL\PRTPROCS\W32X86\WINPRINT.DLL]
  330. Everyone = Read
  331. BUILTIN\Power Users = Change
  332. BUILTIN\Administrators = FullControl
  333. SYSTEM = FullControl
  334. [%SystemRoot%\SYSTEM32\WINS\!]
  335. Everyone = FullControl