WMI--Windows API--EOLE_AUTHENTICATION_CAPABILITIES

C++中获取多显示器的接口类型 // ConsoleApplication3.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #define _WIN32_DCOM #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> #pragma comment(lib, "wbemuuid.lib") int main(int argc, char **a 阅读详情

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

COM
EOLE_AUTHENTICATION_CAPABILITIES
See Also  

The EOLE_AUTHENTICATION_CAPABILITIES enumeration constants set various capabilities in CoInitializeSecurity and IClientSecurity::SetBlanket (or its helper function CoSetProxyBlanket).
这个EOLE_AUTHENTICATION_CAPABILITIES枚举常量在CoInitializeSecurity和IClientSecurity::SetBlanket (或辅助函数CoSetProxyBlanket)中设置各种容量。
  Copy Code
typedef enum tagEOLE_AUTHENTICATION_CAPABILITIES {
    EOAC_NONE                    = 0x0,
    EOAC_MUTUAL_AUTH             = 0x1,
    EOAC_SECURE_REFS             = 0x2,
    EOAC_ACCESS_CONTROL          = 0x4,
    EOAC_APPID                   = 0x8,
    EOAC_DYNAMIC                 = 0x10,
    EOAC_STATIC_CLOAKING         = 0x20,
    EOAC_DYNAMIC_CLOAKING        = 0x40,
    EOAC_ANY_AUTHORITY           = 0x80,
    EOAC_MAKE_FULLSIC            = 0x100,
    EOAC_REQUIRE_FULLSIC         = 0x200,
    EOAC_AUTO_IMPERSONATE        = 0x400,
    EOAC_DEFAULT                 = 0x800,
    EOAC_DISABLE_AAA             = 0x1000,
    EOAC_NO_CUSTOM_MARSHAL       = 0x2000
} EOLE_AUTHENTICATION_CAPABILITIES;
 

Elements
EOAC_NONE
Indicates that no capability flags are set.
指示没有容量flags设置。
EOAC_MUTUAL_AUTH
Unused.
未使用
If this flag is specified, it will be ignored.
如果指定这个flag,它将被忽略。
Support for mutual authentication is automatically provided by some authentication services.
支持相互认证是通过一些身份验证服务自动提供的。
See COM and Security Packages for more information.
请看COM and Security Packages的更多信息。

EOAC_SECURE_REFS
Authenticates distributed reference count calls to prevent malicious users from releasing objects that are still being used.
验证分布式的引用计数器调用防止恶意的用户释放正在被使用的对象。
If this flag is set, which can be done only in a call to CoInitializeSecurity by the client, the authentication level (in dwAuthnLevel) cannot be set to none.
如果设置这个flag,它只能通过客户端在调用CoInitializeSecurity的身份认证级别(在dwAuthnLevel中)不能不设置。
Note: 
注意:
The server always authenticates Release calls.
这个服务器总是验证发布调用。
Setting this flag prevents an authenticated client from releasing the objects of another authenticated client.
设置这个flag防止一个已经验证的客户端去释放对象的另一个验证的客户端。
It is recommended that clients always set this flag, although performance is affected because of the overhead associated with the extra security.
它是推荐的总是实则hi这个flag,尽管因为额外的安全性的相关开销影响性能。

EOAC_ACCESS_CONTROL
Indicates that the pVoid parameter to CoInitializeSecurity is a pointer to an IAccessControl interface on an access control object.
指示这个pVoid这个参数到CoInitializeSecurity是一个指针指向在访问控制对象上的一个IAccessControl接口。
When DCOM makes security checks, it calls IAccessControl::IsAccessAllowed.
当DCOM使得安全检查,它调用IAccessControl::IsAccessAllowed。
This flag is set only by the server.
这个flag仅由服务器设置。

EOAC_APPID
Indicates that the pVoid parameter to CoInitializeSecurity is a pointer to a GUID that is an AppID.
指示这个pVoid这个参数到CoInitializeSecurity是一个指针指向一个GUID它是一个AppID。
The CoInitializeSecurity function looks up the AppID in the registry and reads the security settings from there.
这个CoInitializeSecurity函数在注册表中查找AppID并且从那里读入安全设置。
If this flag is set, all other parameters to CoInitializeSecurity are ignored and must be zero.
如果设置这个flag,所有其它参数到CoInitializeSecurity将被忽略并且必须是0。
Only the server can set this flag.
只有服务器可以设置这个flag。
For more information about this capability flag, see the Remarks section below.
更多信息根关于容量flag,请看下面的备注部分。

EOAC_DYNAMIC
This flag is not currently supported.
这个flag目前不被支持。

EOAC_STATIC_CLOAKING
Sets static cloaking.
设置为静态伪装。
When this flag is set, DCOM uses the thread token (if present) when determining the client's identity.
当设置这个flag时,当明确客户端身份时DCOM使用线程令牌(如果出现)。
However, the client's identity is determined on the first call on each proxy (if SetBlanket is not called) and each time CoSetProxyBlanket is called on the proxy.
当时,客户端身份是明确的在每个代理上的第一调用(如果SetBlanket没有调用)和每次CoSetProxyBlanket在代理上的调用。
This flag can be set by clients only, for use with Windows 2000 and later versions.
这个flag只可以由客户端设置,使用在 Windows 2000 和更高版本。
For more information about static cloaking, see Cloaking.
更多信息关于静态伪装,请看 Cloaking。

EOAC_DYNAMIC_CLOAKING
Sets dynamic cloaking.
设置动态伪装。
When this flag is set, DCOM uses the thread token (if present) when determining the client's identity.
当设置这个flag时,当明确客户端的身份时DCOM使用线程令牌(如果出现)。
On each call to a proxy, the current thread token is examined to determine whether the client's identity has changed (incurring an additional performance cost) and the client is authenticated again only if necessary.
在每个调用到的代理上,这个当前线程令牌被仔细检查去决定哪一个客户端身份已经改变(引起额外性能的开销)和如果必要则客户端身再次份验证。
Dynamic cloaking can be set by clients only, for use with Windows 2000 and later versions.
动态伪装只可以由客户端设置,使用在Windows 2000和更高版本。
For more information about dynamic cloaking, see Cloaking.
更多信息关于动态伪装,请看Cloaking。

EOAC_ANY_AUTHORITY
The use of this flag is deprecated.
不赞成使用这个flag。
Tells DCOM to trust an SChannel server certificate even if the top level certificate authority is not trusted.
表明DCOM信任一个SChanel服务器证书即使如果这个顶层证书权利不被信任。
That is, when a call arrives using SChannel, DCOM will allow the call even if the top level certificate authority is not installed on the machine.
也就是说,当一个调用到达使用SChannel时,DCOM将允许这个调用即使如果这个顶层证书权利是在这个机器上没有安装。
Care must be taken when specifying this flag because having an untrusted root severely compromises session security.
当指定这个flag因为有一个不信任的根严重地损害了session的安全,必须注意。
Applications should use this flag only if manual validation of the server certificate is performed.
只有在人工确认的服务器证书已经执行时,应用程序使用这个flag。
This flag can be set by clients only and can be used with Windows 2000 and later versions.
这个flag只可以由客户端设置,使用在Windows 2000和更高版本。

EOAC_MAKE_FULLSIC
Causes DCOM to send SChannel server principal names in fullsic format to clients as part of the default security negotiation.
引起DCOM在fullsic格式去发送SChanle服务器主体名称到客户端作为默认安全协商的部分。
The name is extracted from the server certificate.
这个名称是从服务证书中提取的。
This flag is for use with Windows 2000 and later versions.
这个值可以使用在Windows 2000和更高版本。
For more information about the fullsic form, see Principal Names.
更多信息关于fullsic形式,请看Principal Names。

EOAC_REQUIRE_FULLSIC
Causes DCOM to fail CoSetProxyBlanket calls where an SChannel principal name is specified in any format other than fullsic.
CoSetProxyBlanket调用那里指定一个以任意格式的SChanle主体名称不是fullsic将引起DCOM失败。
This flag is currently for clients only.
这个flag只是当前客户。
For more information about the fullsic form, see Principal Names.
更多信息关于fullsic形式,请看Principal Names。

EOAC_AUTO_IMPERSONATE
This flag is not currently supported.
这个flag当前不被支持。

EOAC_DEFAULT
Tells DCOM to use the valid capabilities from the call to CoInitializeSecurity.
表明DCOM使用有效的容量从调用CoInitializeSecurity中。
If CoInitializeSecurity was not called, EOAC_NONE will be used for the capabilities flag.
如果没有调用CoInitializeSecurity,EOAC_NONE将被使用这个容量flag。
This value can be used with Windows 2000 and later versions.
这个值可以使用在Windows 2000和更高版本。
This flag can be set only by clients in a call to IClientSecurity::SetBlanket or CoSetProxyBlanket.
这个flag只可以在客户端设置在IClientSecurity::SetBlanket或CoSetProxyBlanket中调用。

EOAC_DISABLE_AAA
Causes any activation where a server process would be launched under the caller's identity (activate-as-activator) to fail with E_ACCESSDENIED.
引起任何激活,一个服务器进程会被在调用者身份(激活-作为-激活因子)开始到失败用E_ACCESSDENIED。
This value, which can be specified only in a call to CoInitializeSecurity by the client, allows an application that runs under a privileged account (such as LocalSystem) to help prevent its identity from being used to launch untrusted components.
这个值只可以由客户端在调用CoInitializeSecurity时指定,运行应应用程序运行在特权账户(如本地系统)去帮助防止它的身份被使用在开始被信任的组件下。
It can be used with Windows 2000 and later versions.
这个值可以使用在Windows 2000和更高版本。
Note:
注意:
An activation call that uses CLSCTX_ENABLE_AAA of the CLSCTX enumeration will allow activate-as-activator activations for that call.
一个激活的调用使用CLSCTX_ENABLE_AAA的CLSCTX枚举将允许激活-作为-激活因子的激活调用。

EOAC_NO_CUSTOM_MARSHAL
Specifying this flag helps protect server security when using DCOM or COM+.
当使用DCOM或COM时指定这个flag帮助保护服务器安全。
It reduces the chances of executing arbitrary DLLs because it allows the marshaling of only CLSIDs that are implemented in ole32.dll, comadmin.dll, comsvcs.dll, or es.dll, or that implement the CATID_MARSHALER category ID.
它减少随意执行DLLs的机会,因为它只允许在ole32.dll, comadmin.dll, comsvcs.dll, 或 es.dll,或实现CATID_MARSHALER类型ID中序列化的CLSIDs的实现。
This value can be used with Windows 2000 and later versions.
这个值可以使用在Windows 2000和更高版本。
Note: 
注意:
Any service that is critical to system operation should set this flag.
任何服务是临界到系统操作的应该设置这个flag。

Remarks
When the EOAC_APPID flag is set, CoInitializeSecurity looks for the authentication level under the AppID.
当这个flag设置为EOAC_APPID时,CoInitializeSecurity在AppID下寻找身份验证等级。
If the authentication level is not found, it looks for the default authentication level.
如果这个身份验证等级没有找到,它寻找默认的身份验证等级。
If the default authentication level is not found, it generates a default authentication level of connect.
如果默认的身份验证等级没有找到,它生成一个默认连接的身份验证等级。
If the authentication level is not RPC_C_AUTHN_LEVEL_NONE, CoInitializeSecurity looks for the access permission value under the AppID.
如果身份验证等价不是RPC_C_AUTHN_LEVEL_NONE,CoInitializeSecurity寻找在AppID下的访问权限值。
If not found, it looks for the default access permission value.
如果没有找到,它寻找默认的访问权限值。
If not found, it generates a default access permission.
如果没有找到,她生成默认访问权限。
All the other security settings are determined the same way as for a legacy application.
所有的其它安全设置确定以相同的方式作为遗留应用程序。
The CoInitializeSecurity function returns an error if both the EOAC_APPID and EOAC_ACCESS_CONTROL flags are set.
如果EOAC_APPID和EOAC_ACCESS_CONTROL flags都被设置,CoInitializeSecurity函数返回一个错误。
The IClientSecurity::SetBlanket method and CoSetProxyBlanket function return an error if any of the following flags are set in the capabilities parameter: EOAC_SECURE_REFS, EOAC_ACCESS_CONTROL, EOAC_APPID, EOAC_DYNAMIC, EOAC_REQUIRE_FULLSIC, EOAC_DISABLE_AAA, or EOAC_NO_CUSTOM_MARSHAL.
如果以下的EOAC_SECURE_REFS, EOAC_ACCESS_CONTROL, EOAC_APPID, EOAC_DYNAMIC, EOAC_REQUIRE_FULLSIC, EOAC_DISABLE_AAA, 或 EOAC_NO_CUSTOM_MARSHAL中任意一个flags在容量参数中设置, IClientSecurity::SetBlanket方法和CoSetProxyBlanket函数返回一个错误。
CoInitializeSecurity and IClientSecurity::SetBlanket return errors if both cloaking flags are set or if either flag is set when SChannel is the authentication service.
如果设置伪装flags或当SChanle是身份验证服务时设置任何一个flag,CoInitializeSecurity 和IClientSecurity::SetBlanket返回错误。

Requirements
For an explanation of the requirement values, see Requirements (COM).

Windows NT/2000/XP: Requires Windows NT 4.0 or later.

Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.

Header: Declared in objidl.h.

See Also
Reference
CoInitializeSecurity
IClientSecurity::SetBlanket
CoSetProxyBlanket
IAccessControl

Send comments about this topic to Microsoft.

SpringBoot和Vue非遗工坊课程预约与作品展销平台源码 包含前后端源码、SQL初始化脚本和启动说明。JDK 17、Spring Boot、Vue;默认H2演示数据库。 立即下载

相关推荐

Mozilla Firefox 161.0 正式版 离线安装包

资源来自网络,仅用于学习交流,请在下载24小时内删除

关于 802.11 协议

目录 一.802.11成帧封装实现    3 1.1控制帧    3 1.1.1 一般的帧控制位    3 1.1.2   RTS(请求发送)    4 1.1.3   CTS (允许发送)    5 原文出处:http://blog.sinthink.cn/2016/02/13/%E5%85%B3%E4%BA%8E-802-11-%E5%8D%8F%E8%AE%A

丶不断追寻 1万+

西周BC797年世界历史地图矢量文件SHP格式.zip

本资源为《西周BC797年世界历史地图矢量文件SHP格式》压缩包,文件大小约 24.82 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。

WMI--Windows API--CoSetProxyBlanket

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com   COM CoSetProxyBlanket See Also   Sets the authentication information that will b

Coperator 2939

YOLO26算法安检X光图像裤子目标检测+训练好的模型+753张数据集+pyqt可视化界面.zip

附训练好的 YOLO 权重与 PyQt 可视化检测界面,页面底部含可视化效果预览,毕设/课设开箱即用。 【数据集概况】 · 检测类别(中文):[裤子(TROUSERS DETECT 3 - v3 take out labels)] · 总计:753 张 · 测试集:273 张 · 验证集:43 张 · 训练集:437 张 【训练曲线与评估图】 【模型训练配置】 参数 | 值 模型 | yolo26n 训练轮数 | 100 epochs 输入尺寸 | 640x640 批次大小 | 24 优化器 | auto 初始学习率 | 0.01 训练设备 【关键指标汇总】 训练了 100 个 epoch,最终轮指标: 指标 | 数值 mAP50 | **0.0000** mAP50-95 | 0.0000 Precision | 0.0000 Recall | 0.0000 train/box_loss | 0.5409 train/cls_loss | 0.3803 val/box_loss | 0.0000 val/cls_loss | 2.0024 【训练过程分析】 在训练初期,即前 20 个 epoch,模型显示出强大的学习能力,box_loss 从 0.5409 迅速下降至 0.3089,这表明模型在快速掌握目标物体的位置信息。与此同时,cls_loss 也从 0.3803 下降到 0.2056,说明模型在识别类别标签方面也取得了显著进步。这两个指标的快速下降趋势显示,模型在学习过程中表现出高度的效率。然而,从第 21 个 epoch 开始,尽管 box_loss 和 cls_loss 继续下降,但速度明显放缓。尤其是在第 40 个 epoch 时,这两个指标分别达到 0.1894 和 0.1356,之后几乎... 使用场景:毕业设计、课程设计、深度学习入门、工业场景落地验证。

西周BC801年世界历史地图矢量文件SHP格式.zip

本资源为《西周BC801年世界历史地图矢量文件SHP格式》压缩包,文件大小约 24.52 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。

智慧预警森林病虫监测云平台系统设计方案.docx

智慧预警森林病虫监测云平台系统设计方案.docx

svga-cj是一个动画库

svga-cj是一个动画库,它可以解析svga格式的动画,并在移动设备上进行本地渲染。 特性 支持加载svga格式的动画 支持动画播放,暂停,快进等功能

“人工智能+”数字乡村建设整体规划方案.pdf

“人工智能+”数字乡村建设整体规划方案.pdf

西周BC876年世界历史地图矢量文件SHP格式.zip

本资源为《西周BC876年世界历史地图矢量文件SHP格式》压缩包,文件大小约 28.63 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。

西周BC990年世界历史地图矢量文件SHP格式.zip

本资源为《西周BC990年世界历史地图矢量文件SHP格式》压缩包,文件大小约 28.45 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。

11263 准分子UV蚕丝肤感涂层微观起皱控形工艺.pdf

技术分享、工艺技术

城市空中交通(UAM)垂直起降场(Vertiport)智能化配套设施建设方案.pdf

城市空中交通(UAM)垂直起降场(Vertiport)智能化配套设施建设方案.pdf

大型制造集团工厂OT_IT融合网络智能巡检智能体(Agent)设计方案.pdf

大型制造集团工厂OT_IT融合网络智能巡检智能体(Agent)设计方案.pdf

大模型技术解决方案.pdf

大模型技术解决方案.pdf

“十五五”乡村全面振兴农业产业大脑与供需匹配详细设计方案.pdf

“十五五”乡村全面振兴农业产业大脑与供需匹配详细设计方案.pdf

上一篇: WMI--Windows API--SOLE_AUTHENTICATION_INFO
下一篇: C++Builder调用VC生成的DLL方法
dblion
博客等级 码龄16年 23粉丝 104原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址