Why is “local launch” allowed for out-proc servers by default but “local activation” is not?

允我心安 提交于 2019-12-10 17:34:26

问题


I currently need to create a COM object that is served by an out-proc COM server from inside an ASP.NET handler. So every time I deploy the COM server I have to fire up DCOM Config and change the security settings. Specifically I need to ensure that both "local launch" and "local activation" is allowed fro the local user ASPNET.

What surprises me is that when I open the relevant settings page "local launch" is already allowed but "local activation" is not allowed.

That doesn't make sense - why would I need such combination of permissions?


回答1:


I'm going to guess it's because that's what your default is set to. It's not normal as far as I'm concerned so I don't know how it got messed up.

You can set the default permissions in dcomcnfg by looking at the properties of "my computer" under the COM Security tab. I think you'll find your COM server's user's default permissions under "Edit Defaults" for Launch and Activation Permissions doesn't have local activation checked.



来源:https://stackoverflow.com/questions/5946520/why-is-local-launch-allowed-for-out-proc-servers-by-default-but-local-activat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!