Re: Confusion over IO (Inherit Only) ACE on Vista
- From: Gerry Hickman <gerry666uk2@xxxxxxxxxxxxxxxx>
- Date: Tue, 25 Nov 2008 20:05:50 +0000
Hi Jialiang Ge,
My question is "which method is best"?
I think it depends on your specific use of DACL. Having two ACEs allows us to separate the security of the current dir from the inheritance. If your business environment does not require the separation, we can use one ACE entry. The default DACL setting configured by Format.exe is to solve the problem of "Denise Smith and Brian in Windows XP".
OK, I notice it's similar on Windows 7 too. My view is that XP was broken, Vista and Windows 7 are fixed for home users, but Windows Servers have more simplified (and arguably better) default layout.
I understand your concerns. Another way to output the results in standard Security Descriptor Definition Language (SDDL) is to use cacls with the /s switch. However, cacls is a legacy command-line routine for investigating and setting ACLs and is being replaced by icacls (though not very thoroughly). I will convey your concerns to the owner of the tool, and hopefully, it can be improved soon.
OK, thanks. As you say, cacls is legacy, so I'd like to see the switch added to icacls.exe
0x1301bf is a combination of Read, Write, Append, ReadEA, WriteEA, Execute, ReadAttr, WriteAttr, Del, RCtl, and Sync.
Read: 0x0001 (FILE_READ_DATA)
Write: 0x0002 (FILE_WRITE_DATA)
Append: 0x0004 (FILE_APPEND_DATA)
ReadEA: 0x0008 (FILE_READ_EA)
WriteEA: 0x0010 (FILE_WRITE_EA)
Execute: 0x0020 (FILE_EXECUTE)
ReadAttr: 0x0080 (FILE_READ_ATTRIBUTES)
WriteAttr: 0x0100 (FILE_WRITE_ATTRIBUTES)
Del: 0x00010000L (DELETE)
RCtl: 0x00020000L (READ_CONTROL)
Sync: 0x00100000L (SYNCHRONIZE)
Perfect! Thanks.
I do not find a built-in COM component exposing these consts. I think you would need to include <winnt.h>
OK, that's my finding also.
--
Gerry Hickman (London UK)
.
- References:
- Confusion over IO (Inherit Only) ACE on Vista
- From: Gerry Hickman
- RE: Confusion over IO (Inherit Only) ACE on Vista
- From: "Jialiang Ge [MSFT]"
- Re: Confusion over IO (Inherit Only) ACE on Vista
- From: Gerry Hickman
- Re: Confusion over IO (Inherit Only) ACE on Vista
- From: "Jialiang Ge [MSFT]"
- Re: Confusion over IO (Inherit Only) ACE on Vista
- From: Gerry Hickman
- Re: Confusion over IO (Inherit Only) ACE on Vista
- From: Jialiang Ge [MSFT]
- Confusion over IO (Inherit Only) ACE on Vista
- Prev by Date: CAdES - XAdES
- Next by Date: Re: CAdES - XAdES
- Previous by thread: Re: Confusion over IO (Inherit Only) ACE on Vista
- Next by thread: Use of AES with SSPI via C++
- Index(es):
Relevant Pages
|