Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Re: IE protected mode in Vista

Closed Thread
 
Thread Tools Display Modes
Old 04-27-2008   #1 (permalink)
PA Bear [MS MVP]
Guest


 

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
Old 04-27-2008   #2 (permalink)
Viatly
Guest


 

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.


Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE protected mode in Vista Viatly Vista General 0 04-27-2008 04:09 AM
Vista running IE7 in protected mode slow Dave F. Vista General 1 10-06-2007 12:02 PM
Re: mailto from Protected Mode: Off to Protected Mode: On Robert Aldwinckle Vista mail 4 09-18-2007 07:56 AM
Vista Protected Mode Paul Vista General 12 03-29-2007 03:07 AM
Vista Ultimate RTM, IE7, and Protected Mode Dance David A. Lessnau Vista General 3 12-15-2006 01:41 PM








Vistax64.com 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 2005-2008

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 47 48 49 50