Discussion:
Local images in IE 7
(too old to reply)
Leslie
2006-11-22 20:34:01 UTC
Permalink
I have a web page that consists of the follwing text.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
<a id="Test Link" href="default.htm"><img src="file:///C:\0000.ico"
border="0" /></a>
</body>
</html>

In the above html the anchor image references a locally stored icon. When I
access this page through a web server that is included in Trusted sites then
the icon is properly displayed in the browser. However, when I access this
page and the web site is NOT included in Trusted sites then all I see is the
Image not found icon.

This was not the case in IE 6.

What has changed to cause IE 7 to be unable to reference locally stored
icons? Is there a setting or configuration change (besides putting the web
site in the Trusted sites) that will cause the icon to display as it did in
IE 6?

Thanks,

Leslie
Walter Wang [MSFT]
2006-11-23 03:21:37 UTC
Permalink
Hi Leslie,

IE7 has many security enhancements. When you visit a web server, you don't
want to let it access your local file system by default, right? I think
this is an improvement rather than restriction.

I understand that you're aware of this feature want to know other than
adding the web site to trusted sites, are there any other way to enable
this. I think you could use IE Admin Kit or Group Policy to do that
automatically.

#IEBlog : Internet Explorer Administration Kit and Group Policy in IE7
http://blogs.msdn.com/ie/archive/2006/02/21/536353.aspx



By the way, for IE7 non-dev related questions, I suggest you find more
appropriate support forum here:

http://www.microsoft.com/windows/ie/support/default.mspx

Thank you for your understanding.

Sincerely,
Walter Wang (***@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Continue reading on narkive:
Loading...