在 DCOM 中设置远程启动

发布于 2024-07-04 07:18:53 字数 130 浏览 5 评论 0原文

我可以使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

很酷又爱笑 2024-07-11 07:18:53

远程/本地激活/启动的权限存储在注册表中对象的 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.

行雁书 2024-07-11 07:18:53

二进制数据只是一个安全描述符结构(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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文