Jump to content

Re: IE protected mode in Vista


Recommended Posts

Guest PA Bear [MS MVP]
Posted

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:<span style="color:blue">

> 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%AppDataMyProgMyProg.ini and to

> %USERPROFILE%AppDataMyProgMyProg.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-securi...vivalGuide.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 </span>

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Viatly
Posted

On Apr 27, 4:30 pm, "PA Bear [MS MVP]" <PABear...@gmail.com> wrote:<span style="color:blue">

> 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?

> --</span>

 

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...