在 DCOM 中设置远程启动
我可以使用 DCOMCNFG 禁用 DCOM 应用程序上的远程启动,但我想以编程方式执行此操作。 我查看了 CoInitializeSecurity,但这似乎不起作用。 有人做过这个吗?
顺便说一句,我正在使用德尔福。
I can use DCOMCNFG to disable remote launch on my DCOM application, but I would like to do this programatically. I looked at CoInitializeSecurity, but that does not seem to do it. Anyone done this?
I am using Delphi BTW.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这与更改非常相似组件服务中的访问权限> COM Security with script/api? 我对此发表了回复。
This is very similar to change Access Permissions in Component Services > COM Security with script/api? for which i posted a response.
远程/本地激活/启动的权限存储在注册表中对象的 AppID 下。
我不确定如何以编程方式编辑它。
The permissions for Remote/Local Activation/Launch are stored in the registry under the AppID for the object.
I'm not sure how to edit it programmatically.
二进制数据只是一个安全描述符结构(PSecurityDescriptor)。 我的意思是它是该结构的内存的副本。 当然,安全描述符是自相关的。
JWSCL 可以轻松创建这样的结构。
每个用户访问权限的启动和访问权限列表,还包含远程和本地访问。
The binary data is simply a security descriptor structure (PSecurityDescriptor). I mean it is a copy of the memory of this structure. And, of course, the security descriptor is self relative.
JWSCL can create such a structure easily.
Launch- and AccessPermission list for every user access rights that also contain remote and local access.