Stupid IIS problem
-
HI, IIS is being a twat. It won't let users download .exes from my web site. They user gets a 404 when the input the URL when I know for a fact that the files are there. Could it be some sort of security 'feature' that is causing this? I have run the IIS lockdown tool in the past - is it possible that this has affected it? By the way, HTML, ASP, JPG, GIF all work fine. Cheers
-
HI, IIS is being a twat. It won't let users download .exes from my web site. They user gets a 404 when the input the URL when I know for a fact that the files are there. Could it be some sort of security 'feature' that is causing this? I have run the IIS lockdown tool in the past - is it possible that this has affected it? By the way, HTML, ASP, JPG, GIF all work fine. Cheers
For anyone that cares, I think this is due to IIS lockdown as it restricts the downloading fo some filetypes. I'l know better when I get home tonight and try it out.
-
For anyone that cares, I think this is due to IIS lockdown as it restricts the downloading fo some filetypes. I'l know better when I get home tonight and try it out.
-
Try setting the Application Settings (Home Directory) the Execute Permissions on None (or Scripts only). Next check HTTP Headers, File Types for the Registered file type .exe (this must be application/octet-stream). Succes!
Thanks for the response but it was the URLScan component of IIS Lockdown wheich was restricting the downloading of exes. God know why :)
-
Thanks for the response but it was the URLScan component of IIS Lockdown wheich was restricting the downloading of exes. God know why :)
URLScan blocks exes because they might run on the server, depending on the configuration. You can comment out the exe extension in the DenyExtensions section of the urlscan.ini file [
%systemroot%\system32\inetsrv\urlscan\urlscan.ini
], or create an asp page to handle the request andResponse.BinaryWrite
the file.