Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

Securable Objects

  • 2021-01-07
Feedback

In this article

A securable object is an object that can have asecurity descriptor. All named Windows objects are securable. Some unnamed objects, such asprocess and thread objects, can have security descriptors too. For most securable objects, you can specify an object'ssecurity descriptor in the function call that creates the object. For example, you can specify a security descriptor in theCreateFile andCreateProcess functions.

In addition, the Windows security functions enable you to get and set the security information for securable objects created on operating systems other than Windows. The Windows security functions also provide support for using security descriptors with private, application-defined objects. For more information about private securable objects, seeClient/Server Access Control.

Each type of securable object defines its own set of specificaccess rights and its ownmapping of generic access rights. For information about the specific and generic access rights for each type of securable object, see the overview for that type of object.

The following table shows the functions to use to manipulate the security information for some common securable objects.

Object typeSecurity descriptor functions
Files or directories on an NTFS file systemGetNamedSecurityInfo,SetNamedSecurityInfo,GetSecurityInfo,SetSecurityInfo
Named pipes
Anonymous pipes
GetSecurityInfo,SetSecurityInfo
Processes
Threads
GetSecurityInfo,SetSecurityInfo
File-mapping objectsGetNamedSecurityInfo,SetNamedSecurityInfo,GetSecurityInfo,SetSecurityInfo
Access tokensSetKernelObjectSecurity,GetKernelObjectSecurity
Window-management objects (window stations anddesktops)GetSecurityInfo,SetSecurityInfo
Registry keysGetNamedSecurityInfo,SetNamedSecurityInfo,GetSecurityInfo,SetSecurityInfo
Windows servicesGetNamedSecurityInfo,SetNamedSecurityInfo,GetSecurityInfo,SetSecurityInfo
Local or remote printersGetNamedSecurityInfo,SetNamedSecurityInfo,GetSecurityInfo,SetSecurityInfo
Network sharesGetNamedSecurityInfo,SetNamedSecurityInfo,GetSecurityInfo,SetSecurityInfo
Interprocess synchronization objects (events, mutexes, semaphores, and waitable timers)GetNamedSecurityInfo,SetNamedSecurityInfo,GetSecurityInfo,SetSecurityInfo
Job objectsGetNamedSecurityInfo,SetNamedSecurityInfo,GetSecurityInfo,SetSecurityInfo
Directory service objectsThese objects are handled by Active Directory Objects. For more information, seeActive Directory Service Interfaces.

Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo