please dont rip this site Prev Next

ACCESS_MASK info  Overview  Group

The ACCESS_MASK structure is one doubleword value containing standard, specific, and generic rights. These rights are used in access-control entries (ACEs) and are the primary means of specifying the requested or granted access to an object.

typedef DWORD ACCESS_MASK; 

 

The bits in this value are allocated as follows:

Bits

Meaning

0 through 15

Specific rights. Contains the access mask specific to the object type associated with the mask.

16 through 23

Standard rights. Contains the object’s standard access rights and can be a combination of the following predefined flags:

Bit

Flag

Meaning

16

DELETE

Delete access

17

READ_CONTROL

Read access to the owner, group, and discretionary access-control list (ACL) of the security descriptor

18

WRITE_DAC

Write access to the discretionary access-control list (ACL)

19

WRITE_OWNER

Write access to owner

20

SYNCHRONIZE

Windows NT: Synchronize access

Bits

Meaning

24

Access system security (ACCESS_SYSTEM_SECURITY). This flag is not a typical access type. It is used to indicate access to a system ACL. This type of access requires the calling process to have a specific privilege.

25

Maximum allowed (MAXIMUM_ALLOWED)

26 through 27

Reserved

28

Generic all (GENERIC_ALL)

29

Generic execute (GENERIC_EXECUTE)

30

Generic write (GENERIC_WRITE)

31

Generic read (GENERIC_READ)

The following constants represent the specific and standard access rights:

#define SPECIFIC_RIGHTS_ALL           0x0000FFFF 

#define STANDARD_RIGHTS_REQUIRED      0x000F0000 

#define STANDARD_RIGHTS_ALL           0x001F0000 

 

See Also

GENERIC_MAPPING 


file: /Techref/os/win/api/win32/struc/src/str00_6.htm, 5KB, , updated: 2000/4/7 11:20, local time: 2024/11/5 03:29,
TOP NEW HELP FIND: 
3.133.115.47:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/techref/os/win/api/win32/struc/src/str00_6.htm"> ACCESS_MASK</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?