Skip to main content

Module security

Module security 

Source
Expand description

Security identifiers, access masks, and security descriptors.

Structs§

AccessMask
Generic ACCESS_MASK flags.
Ace
An immutable borrowed native Windows access-control entry (ACE).
AceBuf
An owned, validated native Windows ACE packet.
AceBuildOptions
Options shared by the supported ACE builders.
AceFlags
Flags stored in an ACE header.
Aces
Iterator over the ACEs in an Acl.
Acl
An immutable borrowed native Windows access-control list (ACL).
AclBuf
An owned, validated native Windows ACL packet.
ObjectAceFlags
Object-specific fields present in an object ACE.
SecDesc
A validated, portable representation of a self-relative Windows security descriptor.
SecDescControl
Flags describing the state and storage of a security descriptor.
SecDescUpdate
A builder for a functional update to a SecDesc.
SecInfo
Security-descriptor components selected by a query or represented by a SecDesc.
Sid
A Windows security identifier (SID).
TokenGroupAttributes
Native SE_GROUP_* attributes attached to token groups.

Enums§

AceBuildError
Error returned when building an ACE.
AceError
Error returned when parsing an ACE.
AceType
A classified native ACE type.
AclBuildError
Error returned when building an ACL.
AclError
Error returned when parsing an ACL.
AclKind
A security descriptor’s access-control-list component.
AclRevision
Native ACL packet revision.
SecDescComponent
A component of a Windows security descriptor.
SecDescError
Error returned when constructing or deserializing a security descriptor.
SecDescRevision
Security descriptor format revision.
SidError
Error returned when constructing or parsing a SID.
SidIdentifierAuthority
Authority responsible for issuing a SID.
SidRevision
SID packet format revision.
WellKnownSid
A SID whose full value is a constant.

Functions§

with_security_privilegeWindows
Runs f with SeSecurityPrivilege enabled on the current thread, reverting to the process token afterward.