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.

566 lines
14 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. ; remove access for Everyone for whole drive
  104. [%SystemDrive%\!]
  105. BUILTIN\Administrators = FullControl
  106. SYSTEM = FullControl
  107. [%SystemDrive%\]
  108. BUILTIN\Users = List
  109. ;Anonymous = List
  110. BUILTIN\Administrators = FullControl
  111. SYSTEM = FullControl
  112. [%SystemDrive%\*.*]
  113. BUILTIN\Users = R
  114. ;Anonymous = R
  115. BUILTIN\Administrators = FullControl
  116. SYSTEM = FullControl
  117. [%SystemDrive%\IO.SYS]
  118. BUILTIN\Administrators = FullControl
  119. SYSTEM = FullControl
  120. [%SystemDrive%\MSDOS.SYS]
  121. BUILTIN\Administrators = FullControl
  122. SYSTEM = FullControl
  123. [%SystemDrive%\BOOT.INI]
  124. BUILTIN\Administrators = FullControl
  125. SYSTEM = FullControl
  126. [%SystemDrive%\NTDETECT.COM]
  127. BUILTIN\Administrators = FullControl
  128. SYSTEM = FullControl
  129. [%SystemDrive%\NTLDR.]
  130. BUILTIN\Administrators = FullControl
  131. SYSTEM = FullControl
  132. [%SystemDrive%\AUTOEXEC.BAT]
  133. BUILTIN\Administrators = FullControl
  134. SYSTEM = FullControl
  135. [%SystemDrive%\CONFIG.SYS]
  136. BUILTIN\Administrators = FullControl
  137. SYSTEM = FullControl
  138. [%SystemDrive%\TEMP\!]
  139. BUILTIN\Users = RWX
  140. ;Anonymous = RWX
  141. CREATOR OWNER= RWXD, RWD
  142. BUILTIN\Administrators = FullControl
  143. SYSTEM = FullControl
  144. ;[%SystemDrive%\USERS\!]
  145. ;BUILTIN\Users = R
  146. ;Anonymous = R
  147. ;CREATOR OWNER= RWXD, RWD
  148. ;BUILTIN\Administrators = FullControl
  149. ;SYSTEM = FullControl
  150. ;[%SystemDrive%\USERS\DEFAULT\!]
  151. ;BUILTIN\Users = RWD, RWD
  152. ;Anonymous = RWD, RWD
  153. ;CREATOR OWNER= RWXD, RWD
  154. ;SYSTEM = FullControl
  155. ;BUILTIN\Administrators = FullControl
  156. ;[%SystemDrive%\WIN32APP\!]
  157. ;SYSTEM = FullControl
  158. ;BUILTIN\Administrators = FullControl
  159. [%SystemRoot%\!]
  160. BUILTIN\Users = R
  161. ;Anonymous = R
  162. BUILTIN\Administrators = FullControl
  163. SYSTEM = FullControl
  164. ;cannot deny users since it breaks WIN16 apps
  165. ;[%SystemRoot%]
  166. ;BUILTIN\Administrators = FullControl
  167. ;SYSTEM = FullControl
  168. [%SystemRoot%\*.*]
  169. BUILTIN\Users = R
  170. ;Anonymous = R
  171. BUILTIN\Administrators = FullControl
  172. SYSTEM = FullControl
  173. [%SystemRoot%\*.INI]
  174. BUILTIN\Users = READ
  175. ;Anonymous = READ
  176. BUILTIN\Administrators = FullControl
  177. SYSTEM = FullControl
  178. [%SystemRoot%\EXPLORER.EXE]
  179. BUILTIN\Users = Read
  180. ;Anonymous = Read
  181. BUILTIN\Administrators = FullControl
  182. SYSTEM = FullControl
  183. [%SystemRoot%\HELP\]
  184. BUILTIN\Users = Change
  185. ;Anonymous = Change
  186. BUILTIN\Administrators = FullControl
  187. SYSTEM = FullControl
  188. [%SystemRoot%\REPAIR\!]
  189. BUILTIN\Administrators = FullControl
  190. [%SystemRoot%\SYSTEM\*.*]
  191. BUILTIN\Users = R
  192. ;Anonymous = R
  193. BUILTIN\Administrators = FullControl
  194. SYSTEM = FullControl
  195. ;[%SystemRoot%\SYSTEM\*.exe]
  196. ;BUILTIN\Administrators = FullControl
  197. ;SYSTEM = FullControl
  198. [%SystemRoot%\SYSTEM32\*.*]
  199. BUILTIN\Users = R
  200. ;Anonymous = R
  201. BUILTIN\Administrators = FullControl
  202. SYSTEM = FullControl
  203. [%SystemRoot%\SYSTEM32\*.dll]
  204. BUILTIN\Users = Read
  205. ;Anonymous = Read
  206. BUILTIN\Administrators = FullControl
  207. SYSTEM = FullControl
  208. [%SystemRoot%\SYSTEM32\*.drv]
  209. BUILTIN\Users = Read
  210. ;Anonymous = Read
  211. BUILTIN\Administrators = FullControl
  212. SYSTEM = FullControl
  213. [%SystemRoot%\SYSTEM32\*.exe]
  214. BUILTIN\Administrators = FullControl
  215. SYSTEM = FullControl
  216. [%SystemRoot%\SYSTEM32\AUTOEXEC.NT]
  217. BUILTIN\Users = READ
  218. ;Anonymous = READ
  219. BUILTIN\Administrators = FullControl
  220. SYSTEM = FullControl
  221. [%SystemRoot%\SYSTEM32\CMOS.RAM]
  222. BUILTIN\Users = R W
  223. ;Anonymous = R W
  224. BUILTIN\Administrators = FullControl
  225. SYSTEM = FullControl
  226. [%SystemRoot%\SYSTEM32\CONFIG]
  227. BUILTIN\Administrators = FullControl
  228. BUILTIN\Users = List
  229. ;Anonymous = List
  230. SYSTEM = FullControl
  231. [%SystemRoot%\SYSTEM32\CONFIG\*.*]
  232. BUILTIN\Administrators = FullControl
  233. SYSTEM = Fullontrol
  234. [%SystemRoot%\SYSTEM32\DHCP\!]
  235. BUILTIN\Administrators = FullControl
  236. SYSTEM = FullControl
  237. [%SystemRoot%\SYSTEM32\DRIVERS\!]
  238. BUILTIN\Users = Read
  239. ;Anonymous = Read
  240. BUILTIN\Administrators = FullControl
  241. SYSTEM = FullControl
  242. [%SystemRoot%\SYSTEM32\OS2\!]
  243. BUILTIN\Administrators = FullControl
  244. SYSTEM = FullControl
  245. [%SystemRoot%\SYSTEM32\RAS]
  246. BUILTIN\Administrators = FullControl
  247. SYSTEM = FullControl
  248. [%SystemRoot%\SYSTEM32\RAS\*.*]
  249. BUILTIN\Administrators = FullControl
  250. SYSTEM = FullControl
  251. [%SystemRoot%\SYSTEM32\REPL\!]
  252. BUILTIN\Administrators = FullControl
  253. SYSTEM = FullControl
  254. [%SystemRoot%\SYSTEM32\REPL\EXPORT]
  255. BUILTIN\Administrators = FullControl
  256. SYSTEM = FullControl
  257. [%SystemRoot%\SYSTEM32\REPL\EXPORT\*.*]
  258. BUILTIN\Administrators = FullControl
  259. SYSTEM = FullControl
  260. [%SystemRoot%\SYSTEM32\REPL\EXPORT\SCRIPTS]
  261. BUILTIN\Administrators = FullControl
  262. SYSTEM = FullControl
  263. [%SystemRoot%\SYSTEM32\REPL\EXPORT\SCRIPTS\*.*]
  264. BUILTIN\Administrators = FullControl
  265. SYSTEM = FullControl
  266. [%SystemRoot%\SYSTEM32\REPL\IMPORT]
  267. BUILTIN\Administrators = FullControl
  268. SYSTEM = FullControl
  269. [%SystemRoot%\SYSTEM32\REPL\IMPORT\*.*]
  270. BUILTIN\Administrators = FullControl
  271. SYSTEM = FullControl
  272. [%SystemRoot%\SYSTEM32\REPL\IMPORT\SCRIPTS]
  273. BUILTIN\Administrators = FullControl
  274. SYSTEM = FullControl
  275. [%SystemRoot%\SYSTEM32\REPL\IMPORT\SCRIPTS\*.*]
  276. BUILTIN\Administrators = FullControl
  277. SYSTEM = FullControl
  278. [%SystemRoot%\SYSTEM32\SPOOL\!]
  279. BUILTIN\Users = Read
  280. ;Anonymous = Read
  281. BUILTIN\Administrators = FullControl
  282. SYSTEM = FullControl
  283. [%SystemRoot%\SYSTEM32\WINS\!]
  284. BUILTIN\Administrators = FullControl
  285. SYSTEM = FullControl
  286. [%SystemRoot%\SYSTEM32\*.exe]
  287. BUILTIN\Administrators = FullControl
  288. SYSTEM = FullControl
  289. [%SystemRoot%\SYSTEM32\APPEND.EXE ]
  290. BUILTIN\Users = Read
  291. ;Anonymous = Read
  292. BUILTIN\Administrators = FullControl
  293. SYSTEM = FullControl
  294. [%SystemRoot%\SYSTEM32\arevfix.com ]
  295. BUILTIN\Users = Read
  296. ;Anonymous = Read
  297. BUILTIN\Administrators = FullControl
  298. SYSTEM = FullControl
  299. [%SystemRoot%\SYSTEM32\CALC.EXE ]
  300. BUILTIN\Users = Read
  301. ;Anonymous = Read
  302. BUILTIN\Administrators = FullControl
  303. SYSTEM = FullControl
  304. [%SystemRoot%\SYSTEM32\CHCP.COM ]
  305. BUILTIN\Users = Read
  306. ;Anonymous = Read
  307. BUILTIN\Administrators = FullControl
  308. SYSTEM = FullControl
  309. [%SystemRoot%\SYSTEM32\CHGCDM.EXE ]
  310. BUILTIN\Users = Read
  311. ;Anonymous = Read
  312. BUILTIN\Administrators = FullControl
  313. SYSTEM = FullControl
  314. [%SystemRoot%\SYSTEM32\CLOCK.EXE ]
  315. BUILTIN\Users = Read
  316. ;Anonymous = Read
  317. BUILTIN\Administrators = FullControl
  318. SYSTEM = FullControl
  319. [%SystemRoot%\SYSTEM32\COMMAND.COM ]
  320. BUILTIN\Users = Read
  321. ;Anonymous = Read
  322. BUILTIN\Administrators = FullControl
  323. SYSTEM = FullControl
  324. [%SystemRoot%\SYSTEM32\doskbd.exe ]
  325. BUILTIN\Users = Read
  326. ;Anonymous = Read
  327. BUILTIN\Administrators = FullControl
  328. SYSTEM = FullControl
  329. [%SystemRoot%\SYSTEM32\DOSKEY.EXE ]
  330. BUILTIN\Users = Read
  331. ;Anonymous = Read
  332. BUILTIN\Administrators = FullControl
  333. SYSTEM = FullControl
  334. [%SystemRoot%\SYSTEM32\DOSX.EXE ]
  335. BUILTIN\Users = Read
  336. ;Anonymous = Read
  337. BUILTIN\Administrators = FullControl
  338. SYSTEM = FullControl
  339. [%SystemRoot%\SYSTEM32\FREECELL.EXE]
  340. BUILTIN\Users = Read
  341. ;Anonymous = Read
  342. BUILTIN\Administrators = FullControl
  343. SYSTEM = FullControl
  344. [%SystemRoot%\SYSTEM32\GDI.EXE ]
  345. BUILTIN\Users = Read
  346. ;Anonymous = Read
  347. BUILTIN\Administrators = FullControl
  348. SYSTEM = FullControl
  349. [%SystemRoot%\SYSTEM32\HELP.EXE ]
  350. BUILTIN\Users = Read
  351. ;Anonymous = Read
  352. BUILTIN\Administrators = FullControl
  353. SYSTEM = FullControl
  354. [%SystemRoot%\SYSTEM32\KB16.COM ]
  355. BUILTIN\Users = Read
  356. ;Anonymous = Read
  357. BUILTIN\Administrators = FullControl
  358. SYSTEM = FullControl
  359. ;[%SystemRoot%\SYSTEM32\KBDSEL.EXE ]
  360. ;BUILTIN\Users = Read
  361. ;Anonymous = Read
  362. ;BUILTIN\Administrators = FullControl
  363. ;SYSTEM = FullControl
  364. [%SystemRoot%\SYSTEM32\KEYB.COM ]
  365. BUILTIN\Users = Read
  366. ;Anonymous = Read
  367. BUILTIN\Administrators = FullControl
  368. SYSTEM = FullControl
  369. [%SystemRoot%\SYSTEM32\KRNL386.EXE ]
  370. BUILTIN\Users = Read
  371. ;Anonymous = Read
  372. BUILTIN\Administrators = FullControl
  373. SYSTEM = FullControl
  374. [%SystemRoot%\SYSTEM32\LOADFIX.COM ]
  375. BUILTIN\Users = Read
  376. ;Anonymous = Read
  377. BUILTIN\Administrators = FullControl
  378. SYSTEM = FullControl
  379. [%SystemRoot%\SYSTEM32\logoff.exe ]
  380. BUILTIN\Users = Read
  381. ;Anonymous = Read
  382. BUILTIN\Administrators = FullControl
  383. SYSTEM = FullControl
  384. [%SystemRoot%\SYSTEM32\MORE.COM ]
  385. BUILTIN\Users = Read
  386. ;Anonymous = Read
  387. BUILTIN\Administrators = FullControl
  388. SYSTEM = FullControl
  389. [%SystemRoot%\SYSTEM32\MSCDEXNT.EXE]
  390. BUILTIN\Users = Read
  391. ;Anonymous = Read
  392. BUILTIN\Administrators = FullControl
  393. SYSTEM = FullControl
  394. [%SystemRoot%\SYSTEM32\NLSFUNC.EXE ]
  395. BUILTIN\Users = Read
  396. ;Anonymous = Read
  397. BUILTIN\Administrators = FullControl
  398. SYSTEM = FullControl
  399. [%SystemRoot%\SYSTEM32\NTVDM.EXE ]
  400. BUILTIN\Users = Read
  401. ;Anonymous = Read
  402. BUILTIN\Administrators = FullControl
  403. SYSTEM = FullControl
  404. [%SystemRoot%\SYSTEM32\NW16.EXE ]
  405. BUILTIN\Users = Read
  406. ;Anonymous = Read
  407. BUILTIN\Administrators = FullControl
  408. SYSTEM = FullControl
  409. [%SystemRoot%\SYSTEM32\PBRUSH.EXE ]
  410. BUILTIN\Users = Read
  411. ;Anonymous = Read
  412. BUILTIN\Administrators = FullControl
  413. SYSTEM = FullControl
  414. [%SystemRoot%\SYSTEM32\REDIR.EXE ]
  415. BUILTIN\Users = Read
  416. ;Anonymous = Read
  417. BUILTIN\Administrators = FullControl
  418. SYSTEM = FullControl
  419. [%SystemRoot%\SYSTEM32\SHARE.EXE ]
  420. BUILTIN\Users = Read
  421. ;Anonymous = Read
  422. BUILTIN\Administrators = FullControl
  423. SYSTEM = FullControl
  424. [%SystemRoot%\SYSTEM32\SOL.EXE ]
  425. BUILTIN\Users = Read
  426. ;Anonymous = Read
  427. BUILTIN\Administrators = FullControl
  428. SYSTEM = FullControl
  429. [%SystemRoot%\SYSTEM32\SORT.EXE ]
  430. BUILTIN\Users = Read
  431. ;Anonymous = Read
  432. BUILTIN\Administrators = FullControl
  433. SYSTEM = FullControl
  434. [%SystemRoot%\SYSTEM32\USER.EXE ]
  435. BUILTIN\Users = Read
  436. ;Anonymous = Read
  437. BUILTIN\Administrators = FullControl
  438. SYSTEM = FullControl
  439. [%SystemRoot%\SYSTEM32\USERINIT.EXE]
  440. BUILTIN\Users = Read
  441. ;Anonymous = Read
  442. BUILTIN\Administrators = FullControl
  443. SYSTEM = FullControl
  444. [%SystemRoot%\SYSTEM32\VWIPXSPX.EXE]
  445. BUILTIN\Users = Read
  446. ;Anonymous = Read
  447. BUILTIN\Administrators = FullControl
  448. SYSTEM = FullControl
  449. [%SystemRoot%\SYSTEM32\wfshell.exe ]
  450. BUILTIN\Users = Read
  451. ;Anonymous = Read
  452. BUILTIN\Administrators = FullControl
  453. SYSTEM = FullControl
  454. [%SystemRoot%\SYSTEM32\WIN.COM ]
  455. BUILTIN\Users = Read
  456. ;Anonymous = Read
  457. BUILTIN\Administrators = FullControl
  458. SYSTEM = FullControl
  459. [%SystemRoot%\SYSTEM32\winhlp32.exe]
  460. BUILTIN\Users = Read
  461. ;Anonymous = Read
  462. BUILTIN\Administrators = FullControl
  463. SYSTEM = FullControl
  464. [%SystemRoot%\SYSTEM32\WINMINE.EXE ]
  465. BUILTIN\Users = Read
  466. ;Anonymous = Read
  467. BUILTIN\Administrators = FullControl
  468. SYSTEM = FullControl
  469. [%SystemRoot%\SYSTEM32\WOWEXEC.EXE ]
  470. BUILTIN\Users = Read
  471. ;Anonymous = Read
  472. BUILTIN\Administrators = FullControl
  473. SYSTEM = FullControl
  474. [%SystemRoot%\SYSTEM32\SYSTRAY.EXE ]
  475. BUILTIN\Users = Read
  476. ;Anonymous = Read
  477. BUILTIN\Administrators = FullControl
  478. SYSTEM = FullControl