Getting Internet Explorer Security Settings

  • Thread starter Thread starter jd
  • Start date Start date
J

jd

Hi, I have an application that uses embedded IE windows, which doesn't
work if the user has set their IE security settings to high. Is there
any way to programmatically obtain the security settings for Internet
Explorer for the current user?

I had a brief look through the registry but by comparing the
exported .reg files before and after making changes to the IE
settings, I was not able to locate them specifically.

Any help at all would be greatly appreciated.

TIA

JD
 
You can display an error message and let the user decide to trust your
program or not. Visual Studio 2005 once asked me wether to trust Visual
Studio 2005 or not when i was using a Visual C++ wizard (seehttp://jiangsheng.spaces.live.com/blog/cns!1BE894DEAF296E0A!539.entry). I
had to trust Visual Studio 2005 to continue working.

I understand that, but IE doesn't produce a nice security warning for
this issue, it simply seems to prevent the application from working.
(Something to do with the localhost connection from the browser
instance to the locally running application.)

Because IE doesn't produce a nice warning message I'd like to detect
whether they have their security restrictions set to 'high', and if
so, warn them on startup.
 
Since the user can custom the security levels, your need to find out the
status of individual permissions.
 
Hello,

If your application is using embedded MSHTML windows for its interface, you
can choose which security context they will be running in. You can thus force
the “trusted sites†zone for your content (if it's safe indeed).

If you need MSHTML for presenting some rich UI, you might want to use .NET
3 instead, which has build-in managed classes for doing basically the same
things, it's just that they're not HTML-based.

(H) Serge
 
Back
Top