IE6 in XPSP2 - background-image causes security alert!!

P

Peter Row

Hi,

If I use a CSS file or an inline style attribute on a tag that
includes the background-image property with the URL to
my image, then on WinXP SP2 IE6 the information bar
pops up and says:

"To help protect security, Internet explorer has restricted
the file from showing active content that could access
your computer. Click here for options..."

If I then click the info bar and say "allow bocked content"
I get a message box saying:

"allowing active content such as script and activeX controls
can be useful, but active content might also harm your
computer, Are you sure you want to let this file run active
content?"

If I click Yes to this the page runs as normal.
However all thats happening is a background image is being
downloaded due to a CSS command. It is not active at all.

I think this is a bug in the new super tight security of XP SP2.
Anybody else have similar troubles, or know how to stop the
message/info bar popping up.

Regards,
Peter
 
P

Peter Row

Hi,

It's not the fact that it does it as such, it's what it does it on.
For example if a CSS file has a declaration like:

..myClass {
width: expression(myID.clientArea - 4)
}

Then this will cause the info bar to pop up and you have to
allow blocked content.

This is absolutely ridiculous!
The above CSS is not script or activeX so what the hell
is it blocking it for.

I'm all for better security but stuff like this is stupid!
It should be allowed even if security is set to high.

Regards,
Peter
 
D

Dave Massy [MS]

Hi Peter,
The use of expressions invokes the script engine so it is treated as running
script. The default security settings for Windows XP SP2 would mean that
this will not run in the local machine zone as active content is disabled.
This means executing the html file directly off the hard drive will block
active content from running. This content should function fine though from
an http server.
For full details of the changes for Windows XP SP2 take a look at
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2chngs.mspx

Thanks
Dave Massy
Senior Program Manager
Internet Explorer
Microsoft Corporation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top