Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. 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

UAC Prevents Subclassing IE7 Main Window

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 07-18-2007   #1 (permalink)
zanbizar@gmail.com
Guest


 

UAC Prevents Subclassing IE7 Main Window

I have a VB6 app which subclasses the IE7 main window. Works when UAC
is disabled, otherwise it fails.

* Running the app as administrator does NOT fix the problem, oddly
enough.
* I can subclass any other app under Vista, it's just IE7 that won't
work.

Any thoughts?

TIA


My System SpecsSystem Spec
Old 07-18-2007   #2 (permalink)
Jesper
Guest


 

RE: UAC Prevents Subclassing IE7 Main Window

This is probably because of IE Protected Mode, not UAC. The two are related
in that some of the UAC components provide the plumbing for IE Protected
Mode, and hence is why it works when UAC is disabled.

What are you trying to accomplish? There may be another way to do it.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"zanbizar@gmail.com" wrote:

> I have a VB6 app which subclasses the IE7 main window. Works when UAC
> is disabled, otherwise it fails.
>
> * Running the app as administrator does NOT fix the problem, oddly
> enough.
> * I can subclass any other app under Vista, it's just IE7 that won't
> work.
>
> Any thoughts?
>
> TIA
>
>

My System SpecsSystem Spec
Old 07-19-2007   #3 (permalink)
zanbizar@gmail.com
Guest


 

Re: UAC Prevents Subclassing IE7 Main Window

On Jul 18, 1:06 am, Jesper <Jes...@discussions.microsoft.com> wrote:
> This is probably because of IE Protected Mode, not UAC. The two are related
> in that some of the UAC components provide the plumbing for IE Protected
> Mode, and hence is why it works when UAC is disabled.
>
> What are you trying to accomplish? There may be another way to do it.
> ---
> Your question may already be answered in Windows Vista Security:http://www.amazon.com/gp/product/047...otectyourwi-20
>
> "zanbi...@gmail.com" wrote:
> > I have a VB6 app which subclasses the IE7 main window. Works when UAC
> > is disabled, otherwise it fails.

>
> > * Running the app as administrator does NOT fix the problem, oddly
> > enough.
> > * I can subclass any other app under Vista, it's just IE7 that won't
> > work.

>
> > Any thoughts?

>
> > TIA


I'm adding a clickable button to the titlebar of the active
application so my users can save/interact with the window content. I
guess I can put an icon in the system tray. Thanks much for the info!

My System SpecsSystem Spec
Old 07-19-2007   #4 (permalink)
zanbizar@gmail.com
Guest


 

Re: UAC Prevents Subclassing IE7 Main Window

On Jul 18, 1:06 am, Jesper <Jes...@discussions.microsoft.com> wrote:
> This is probably because of IE Protected Mode, not UAC. The two are related
> in that some of the UAC components provide the plumbing for IE Protected
> Mode, and hence is why it works when UAC is disabled.
>
> What are you trying to accomplish? There may be another way to do it.
> ---
> Your question may already be answered in Windows Vista Security:http://www.amazon.com/gp/product/047...otectyourwi-20
>
> "zanbi...@gmail.com" wrote:
> > I have a VB6 app which subclasses the IE7 main window. Works when UAC
> > is disabled, otherwise it fails.

>
> > * Running the app as administrator does NOT fix the problem, oddly
> > enough.
> > * I can subclass any other app under Vista, it's just IE7 that won't
> > work.

>
> > Any thoughts?

>
> > TIA


Just for the record, I found this:

http://blogs.msdn.com/ie/archive/2006/02/09/528963.aspx

* User Interface Privilege Isolation (UIPI) blocks lower-integrity
from accessing higher-integrity processes. For example, a lower-
integrity process cannot send window messages or hook or attach to
higher priority processes This helps protect against "shatter
attacks." A shatter attack is when one process tries to elevate
privileges by injecting code into another process using windows
messages.

Internet-facing applications such as browsers are inherently at a
higher security risk than other applications because they can download
untrustworthy content from unknown sources. IE7's Protected Mode
leverage's Windows Vista's UAC, MIC and UIPI features to boost browser
security. In IE7's Protected Mode-which is the default in other than
the Trusted security zone-the IE process runs with Low rights, even if
the logged-in user is an administrator. Since add-ins to IE such as
ActiveX controls and toolbars run within the IE process, those add-ins
run Low as well. The idea behind Protected Mode IE is that even if an
attacker somehow defeated every defense mechanism and gained control
of the IE process and got it to run some arbitrary code, that code
would be severely limited in what it could do. Almost all of the file
system and registry would be off-limits to it for writing, reducing
the ability of an exploit to modify the system or harm user files. The
code wouldn't have enough privileges to install software, put files in
the user's Startup folder, hijack browser settings, or other
nastiness.

###

My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Contact List on WinMail main window BMeltzer Vista mail 3 07-21-2008 02:52 PM
how to - checking for new messages without having the main window Jason Telford Vista mail 2 03-02-2008 05:09 PM
Subclassing Window Aidan Reel Avalon 1 03-27-2007 06:34 PM
RC1 and still the WM NG main window buttons change like pinballs Wow! Chad Harris Vista General 7 09-12-2006 05:50 AM
opacity main window with navigation support? Leo Xue Avalon 0 04-10-2006 12:01 AM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




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