How to swtich Protected Mode of IE in my own Explorer based on Microsoft Browser Activex control?

315 Views Asked by At

I made a simple browser based on Microsoft Browser Activex control,Any ways to switch protected mode in my own browser?

2

There are 2 best solutions below

0
EricLaw On BEST ANSWER

No. Unfortunately, there's no way to run your WebBrowser Control-hosting application in Protected Mode, as this is both unsupported and broken (because your application doesn't host the required broker objects).

3
noseratio On

I take your "yes" as "switch on". I haven't done this myself, but I'd start my research with enabling the following features for the process hosting WebBrowser control:

FEATURE_BROWSER_EMULATION
FEATURE_ZONE_ELEVATION
FEATURE_WINDOW_RESTRICTIONS
FEATURE_LOCALMACHINE_LOCKDOWN
FEATURE_RESTRICT_ACTIVEXINSTALL
FEATURE_VALIDATE_NAVIGATE_URL
FEATURE_PROTOCOL_LOCKDOWN
FEATURE_SAFE_BINDTOOBJECT

Let us know if you get there.