IETF-SSH archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
SFTP 6 - ACE mask value for ACCESS_SYSTEM_SECURITY
I also spotted this detail. The SFTP 6 draft (version 12) defines:
ace-mask
Combination of the following flags (taken from [RFC3010], section
5.9.3. The semantic meaning of these flags is also given in
[RFC3010].
ACE4_READ_DATA 0x00000001
ACE4_LIST_DIRECTORY 0x00000001
ACE4_WRITE_DATA 0x00000002
ACE4_ADD_FILE 0x00000002
ACE4_APPEND_DATA 0x00000004
ACE4_ADD_SUBDIRECTORY 0x00000004
ACE4_READ_NAMED_ATTRS 0x00000008
ACE4_WRITE_NAMED_ATTRS 0x00000010
ACE4_EXECUTE 0x00000020
ACE4_DELETE_CHILD 0x00000040
ACE4_READ_ATTRIBUTES 0x00000080
ACE4_WRITE_ATTRIBUTES 0x00000100
ACE4_DELETE 0x00010000
ACE4_READ_ACL 0x00020000
ACE4_WRITE_ACL 0x00040000
ACE4_WRITE_OWNER 0x00080000
ACE4_SYNCHRONIZE 0x00100000
This matches quite directly the file access rights available in Windows. However, it omits one special access right that has to do with accessing AUDIT and ALARM ACL entries - the ACCESS_SYSTEM_SECURITY access right. According to MSDN ("SACL Access Right"):
The ACCESS_SYSTEM_SECURITY access right is not valid
in a DACL because DACLs do not control access to a SACL.
However, you can use the ACCESS_SYSTEM_SECURITY access
right in a SACL to audit attempts to use the access right.
This flag is not used in ALLOW and DENY ACEs. However, it can appear in an AUDIT or ALARM ACE, in which case it can be useful for auditing unauthorized attempts to access the AUDIT/ALARM part of a file's access control list.
I suggest that it would be straightforward and useful to define a value for this access right in SFTP.
denis
Home |
Main Index |
Thread Index |
Old Index