Download ActiveX DLLs in Internet Explorer with elevated privileges

I have an ActiveX control that I load using JavaScript in Internet Explorer. It should work as medium integrity in UAC in Vista and Win7. This is written in C / C ++ compiled in Visual Studio.

One way to increase privileges is to create a broker process that can request the level of integrity of the environment. However, this project is not a practical solution. I really need an ActiveX control to run a higher level.

My question is: what is the easiest way to do this? Can I change the build parameters in a project as exe and use the COM interprocess connection system to automatically process messages or do I need to be more complex? Do I need to do something complicated, how to manually call CreateProcess and make a kind of broker, or can it only work as an ActiveX exe that raises itself?

+3
source share
1 answer

It basically depends on what your ActiveX control does, how to embed it in a page, and how it is implemented.

, , EXE, , Low ..

, , , IClassFactory DLL. AppID , DllSurrogate ( COM +), ( IE CLSCTX_ALL , ).

, , , - , .

+3

Source: https://habr.com/ru/post/1736762/


All Articles