Security attributes

资料百科
Security attributes - 定义:一组和负责人相关联的属性来自。Security attributes能够和一个负责人相关联,通过J2EE产品提供商制定的认证协议。
  • 外文名 Security attributes
  • 属    性 一组和负责人相关联的属性
  • 类    型 认证协议
  • 相    关 J2EE产品

定义

  一组和负责人相关联的属性。Security attribute请他顾s能够和一个负责人相关联,通过J2EE产品提供商制定的认证协议。

应用

  The SECURITY_AT来自TRIBUTES st360百科ructure contains the secu里就家件夫差觉盾背胞实rity desc似析属riptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.

  typedef struct _SEC跟烧URITY_ATTRIBUTES { // sa

  DWORD nLength;

  LPVOID lpSecurityDescriptor;

  BOOL bInheritHandle;

 神细玉章又 } SECURITY_ATTRIBUTES;

  Members

  nLength

  Specifies the size, in bytes, of this structure. Set this value to the size of the SECURITY_ATTRIBUTES structure.

  Windows NT: Some functions that use the SECURITY_ATTRIBUTES structure do not verify the value of the nLength member. Howe些防简线算ver, an appli神抗亚技仅还cation should still set it properly. That ensures current, future, and cross-platf角贵激应照船构orm compatibility.

  lpSecurityDescriptor

  Pointer to a security descriptor for the object that controls the sharing of it. If NULL is specified for this member, the object may 如厂初措月山境be assigned the default security descriptor of the calling process.

  Windows 95 and Windows 98: The lpSecurityDescriptor member of the structure is ignored.

  bInheritHandle

  Speci东略艺更跑fies whether the returned handle is inherited when a new process is created. If this member is TRUE, the new process inherits the hand承按理乙许流又列le.

  Remarks

  A pointer to a 约航决露故石布然二茶SECURITY_ATTRIBUTES structure is used as 十单战抗田妒白受示质a parameter in most kernel and window-management functions in the Win32 API that return a hand农纸封le of an object.

标签:
声明:此文信息来源于网络,登载此文只为提供信息参考,并不用于任何商业目的。如有侵权,请及时联系我们:yongganaa@126.com

评论留言

我要留言

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

声明:此文信息来源于网络,登载此文只为提供信息参考,并不用于任何商业目的。如有侵权,请及时联系我们:yongganaa@126.com