Re: Setting object callback access permissions

From: Dmitrii Zakharov [MSFT] (dmitriiz_at_online.microsoft.com)
Date: 11/14/03


Date: Thu, 13 Nov 2003 18:14:25 -0800


I'm not sure if this is a solution for you, but did you try to use
IAccessControl interface?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/cmi_a2b_912k.asp

"Francisco Garcia" <fgarcia@visual-tools.com> wrote in message
news:eR9qfegqDHA.2568@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I have a client object which passes a callback interface to a server
> object executing in a different machine, but the server object gets an
> access denied error when trying to call the client object through that
> callback interface.
>
> Client object is in an ActiveX dll written in VB. It can be loaded by
> many processes, executing in different operating systems (Windows
> 95/98/Me/NT 4/2000
>
> I don't want to change system-wide security settings in the client
> machine (I don't want to open security holes).
> I can't change process-wide security settings in the client process
> (client object is in a dll, can't call CoInitializeSecurity)
> I can't call CoSetProxyBlanket in the client process (I don't have a
> proxy; I have the real object, so CoSetProxyBlanket returns E_NOINTERFACE)
> I can't call CoSetProxyBlanket in the server process (server object
> doesn't have access to lower access restrictions)
>
> How should I proceed to grant the server access permission to the
> callback interface in the client object?
>
> Thanks in advance
>
>



Relevant Pages

  • Re: Setting object callback access permissions
    ... "This interface is primarily used to set processwide security with a call to ... And I can't call CoInitializeSecurity from a DLL. ... >> I have a client object which passes a callback interface to a server ...
    (microsoft.public.platformsdk.security)
  • Re: Setting object callback access permissions
    ... "This interface is primarily used to set processwide security with a call to ... And I can't call CoInitializeSecurity from a DLL. ... >> I have a client object which passes a callback interface to a server ...
    (microsoft.public.security)
  • Re: Setting object callback access permissions
    ... "This interface is primarily used to set processwide security with a call to ... And I can't call CoInitializeSecurity from a DLL. ... >> I have a client object which passes a callback interface to a server ...
    (microsoft.public.win2000.security)
  • Re: Setting object callback access permissions
    ... IAccessControl interface? ... > I have a client object which passes a callback interface to a server ... > I can't change process-wide security settings in the client process ...
    (microsoft.public.win2000.security)
  • Re: Setting object callback access permissions
    ... IAccessControl interface? ... > I have a client object which passes a callback interface to a server ... > I can't change process-wide security settings in the client process ...
    (microsoft.public.security)