0

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

avo
  • 10,101
  • 13
  • 53
  • 81
KnowNothing
  • 121
  • 1
  • 11

2 Answers2

2

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).

EricLaw
  • 56,563
  • 7
  • 151
  • 196
1

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.

noseratio
  • 59,932
  • 34
  • 208
  • 486
  • 1
    FWIW, none of those FCKs are related to Protected Mode (which is controlled by URLACTION_LOW_RIGHTS in IE, but that's meaningless outside of IE). But you're right to note that if his goal is to secure his client, then he should be looking at all of those FCKs and more. – EricLaw Sep 26 '13 at 19:29
  • @EricLaw, great info, appreciated. I think the OP also should make sure his app is UAC-compliant, which is a must in any case. – noseratio Sep 26 '13 at 22:47
  • Thx but that was not what I wanted. – KnowNothing Sep 28 '13 at 11:43