Re: Reusing WB versus script blockers
- From: "He Shiming" <mailbill(NOSPAM)@21cn.com.nospam>
- Date: Wed, 12 Oct 2005 10:35:26 +0800
"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:Om1yrllzFHA.3180@xxxxxxxxxxxxxxxxxxxxxxx
> "He Shiming" <mailbill(NOSPAM)@21cn.com.nospam> wrote in message
> news:e3uQOaizFHA.2312@xxxxxxxxxxxxxxxxxxxx
>> I've created this program which relies heavily on the WebBrowser
>> control. The program is a COM server that interacts with the HTML
>> pages through javascripts. It requires ActiveX scripting capabilities
>> to be enabled. Default security settings (Medium) in the Internet
>> Zone will work okay, but high level security settings won't.
>
> Implement IInternetSecurityManager, and you can determine your own
> security levels for any content. See
>
> http://msdn.microsoft.com/workshop/security/szone/overview/overview.asp
>
> "Creating a Customized URL Security Manager" section.
> --
> With best wishes,
> Igor Tandetnik
>
Dear Igor,
Thanks for the answer. Now I understand that I can programmatically "map
URLs to zone" thru IInternetSecuirtyManager::SetZoneMapping. However, is it
a global setting? I wish that it could be lock to certain processes. It can
cause problems if it's global. For instance, my program launches, and it
maps "about:blank" to trusted site zone. Since it's a global setting, when
the user opens the Internet Explorer, with homepage set to about:blank, this
will be a trusted site. He navigates to other URLs, he'll see the warning
that he's leaving the trusted zone. Even worse, I think some anti-virus
program may disallow such navigation.
Any suggestions?
Best regards,
He Shiming
.
- Follow-Ups:
- Re: Reusing WB versus script blockers
- From: Igor Tandetnik
- Re: Reusing WB versus script blockers
- References:
- Reusing WB versus script blockers
- From: He Shiming
- Re: Reusing WB versus script blockers
- From: Igor Tandetnik
- Reusing WB versus script blockers
- Prev by Date: Re: Reusing WB versus script blockers
- Next by Date: Re: Reusing WB versus script blockers
- Previous by thread: Re: Reusing WB versus script blockers
- Next by thread: Re: Reusing WB versus script blockers
- Index(es):
Relevant Pages
|
Loading