Vista: IE-Toolbar with Protected Mode

Hello,

we have a IE toolbar that needs write access into the users data folder.

I read the aticle about the IE protected mode http://msdn.microsoft.com/library/default.asp url=/library/en-us/ietechcol/dnwebgen/protectedmode.asp

I added ElevationPolicy with the CLSID of the Toolband, but it did not help.

The article is unclear to me because bands usually consist only of COM objects residing in dlls. Do I need a broker process (exe)

Thanks,

Martin



Answer this question

Vista: IE-Toolbar with Protected Mode

  • Arun.kumar.sharma

    Thanks for your relpy!

    Yes, our IE toolbar is an in-process COM server.
    It implements features to store Web pages in a MS Access database that is stored in the "My Documents\Web Researches" folder.

    Changing this location to low integrity folders is not practial because users can have very important data.

    Working with temporary files is not possible because we need to access that db during save process.

    Have you any suggestions
    Source out to an ActiveX-exe

    Martin


  • Teo4

    Yes, that would be one solution to have a out-of-proc broker process which will do the saving. Its essential you make your process secure & validate properly any data you might recieve from a low integrity level process.
  • Todd Biggs - Windows Live

    I have similar problem.

    Please can you tell me, how can I create "broker process" for my in-proc COM addin And now, my COM addin displays modal window by clicking to toolbar button. When I change my addin to out-process addin, will be possible to display modal windows (from another process)

    Thank you.



  • ZuliXP

    The ElevationPolicy is for allowing an out-of-proc process (like a LocalServer COM process) to run at medium integrity level. But your toolbar is an inproc COM server, so it will be loaded in the same IE process (ie low integrity level). What users data folder you want write access to Could you use SHGetKnownFolderPath API (as documented in the article) to get a location where protected mode IE can write to
  • Vista: IE-Toolbar with Protected Mode