Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Re: IE protected mode in Vista

Reply
 
Old 04-27-2008   #1 (permalink)
PA Bear [MS MVP]


 
 

Re: IE protected mode in Vista

Forwarded to Vista Security newsgroup via crosspost.

Sounds like your MyProg BHO wasn't written with Vista and UAC in mind,
Viatly. Have you considered instructing users to log in as Administrator
before installing MyProg?
--
~PA Bear


Viatly wrote:
Quote:

> As you probably know, IE works in Windows Vista in so-called
> "protected mode". In this mode IE has very limited set of locations on
> the filesystem for writing. For example, IE cannot write to
> %USERPROFILE%\AppData\MyProg\MyProg.ini and to
> %USERPROFILE%\AppData\MyProg\MyProg.log, where MyProg is my program
> working as IE extension (BHO). After surfing through the Internet, I
> found the following solutions, neither of which I really like:
>
> Solutuion 1. Make a separate executable and delegate all functionality
> of my IE extension to it. The IE extension will then become a proxy
> for this executable, talking to it through IPC (e.g. as described
> http://www.codeproject.com/KB/vista-...ivalGuide.aspx)
>
> Solution 2. Turn off IE protected mode during installing MyProg. Of
> course, with the user's approval. The problem here is that I cannot
> find a (Vista-only) WinAPI call to switch off IE protected mode. Or
> Registry key at least...
>
> To sum-up: the first solution seems to me too cumbersome. The second
> seems too global.
> All your advices are appreciated. Is there an alternative solution?
>
> Vitaly

My System SpecsSystem Spec
Old 04-27-2008   #2 (permalink)
Viatly


 
 

Re: IE protected mode in Vista

On Apr 27, 4:30 pm, "PA Bear [MS MVP]" <PABear...@xxxxxx> wrote:
Quote:

> Forwarded to Vista Security newsgroup via crosspost.
>
> Sounds like your MyProg BHO wasn't written with Vista and UAC in mind,
> Viatly. Have you considered instructing users to log in as Administrator
> before installing MyProg?
> --
You are right, PA Bear, this software was initially developed and
tested on WinXP, but recently we started porting it to Vista and
bumped into this kind of problems.
Installation of this software requires elevating to admin rights, but
for _usage_ having User rights is just enough.


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Re: Vista & IE7 Protected Mode Setting not Permanent Vista security
IE protected mode in Vista Vista General
Vista running IE7 in protected mode slow Vista General
Re: mailto from Protected Mode: Off to Protected Mode: On Vista mail
Vista Protected Mode Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46