Vista: IE-Toolbar with Protected Mode  
Author Message
Martin Koppmann





PostPosted: Internet Explorer Extension Development, Vista: IE-Toolbar with Protected Mode Top

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://www.hide-link.com/

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



Internet Explorer Development2  
 
 
Sharath Udupa





PostPosted: Internet Explorer Extension Development, Vista: IE-Toolbar with Protected Mode Top

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
 
 
Martin Koppmann





PostPosted: Internet Explorer Extension Development, Vista: IE-Toolbar with Protected Mode Top

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


 
 
Sharath Udupa





PostPosted: Internet Explorer Extension Development, Vista: IE-Toolbar with Protected Mode Top

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.
 
 
Ing. Martin Pozor





PostPosted: Internet Explorer Extension Development, Vista: IE-Toolbar with Protected Mode Top

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.