Is it an IE bug or a Windows bug?

Source: Internet
Author: User

I have been modifying and maintaining an ActiveX product of the company and performing some image processing. What's not so nice is that I have mistaken the suffix of the image file, the JPG file is treated as BMP, so the image cannot be displayed in IE7 or IE8. This problem first appeared in a brother's project. When I came over, the brother of another project also experienced this problem, and I was overwhelmed.

 

The image is correct. You can also see the image using the image tool that comes with windows. I think that tool should be the file read Based on the file header ID, then, analyze and display the data. Before using third-party software, you may not be able to read the file carefully. This is simply because the file name suffix is incorrect.

 

Windows brings us a kind of convenience, but also brings us an illusion that files in windows are identified by file name suffixes, unlike Linux, it is identified based on the actual representation of the file. Many Trojans or other undesirableProgram. Txt file. These things are easily prototype exposed in Linux, but the design of Windows makes this problem a very difficult problem.

 

I think this problem may not be taken into account when I first designed DoS or windows. By the time it was necessary to consider it, Windows had blossomed everywhere and it was hard to make any modifications to this problem. However, Internet Explorer is not a particularly open platform. Internet Explorer is only used for surfing the Internet. There is no need to identify files based on the filename suffix, which is easily exploited.

 

I should have studied this part of Internet Explorer, but I still want to forget it. At this point, I will leave it to the exploiter.

 

Is it an IE bug? In the near future, if someone takes advantage of this feature, it can be counted as yes.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.