![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Showing contacts list in main window | Vista mail | |||
| Re: Virtual PC 2007 main window | Virtual PC | |||
| how to - checking for new messages without having the main window | Vista mail | |||
| RC1 and still the WM NG main window buttons change like pinballs Wow! | Vista mail | |||