Skip to content

Commit

Permalink
Add Registry Standard Access Rights
Browse files Browse the repository at this point in the history
  • Loading branch information
s3cst4rs committed Jan 10, 2023
1 parent b8be2fd commit deb67e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions windows/registry/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ const (
// Registry key security and access rights.
// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms724878.aspx
// for details.

// Standard access rights
DELETE = 0x00010000
READ_CONTROL = 0x00020000
WRITE_DAC = 0x00040000
WRITE_OWNER = 0x00080000

// Specific access rights
ALL_ACCESS = 0xf003f
CREATE_LINK = 0x00020
CREATE_SUB_KEY = 0x00004
Expand Down

0 comments on commit deb67e9

Please sign in to comment.