I am developing a PHP web application in Apache server and it seems to work well with all major browsers even IE8. The only problem is with IE9. Basically my application lets users download a 30 day trial which is an exe file. At the download prompt, the dialog says "This type of file could harm your computer".
Some websites like red-gate.com and microsoft.com allows downloading of exe files but without this warning in IE9. What am I missing here?? I have some possible causes for this problem:
Is this specific only to Apache hosted w开发者_如何学运维ebsites? Its because red-gate and microsoft.com are hosted in IIS/ASP.NET platform.
The exe file is not digitally signed?
Or this is simply a bug in IE9?
I would like the message "This type of file could harm your computer" to be completely remove when users are downloading the exe files using IE9. Any thoughts?
It looks like the content-disposition header is the key. See http://support.microsoft.com/kb/2566263
精彩评论