Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Stupid IIS problem

Stupid IIS problem

Scheduled Pinned Locked Moved Web Development
htmlwindows-adminsecurityhelpquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    James Spibey
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • J James Spibey

      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

      J Offline
      J Offline
      James Spibey
      wrote on last edited by
      #2

      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.

      R 1 Reply Last reply
      0
      • J James Spibey

        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.

        R Offline
        R Offline
        Remco V
        wrote on last edited by
        #3

        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!

        J 1 Reply Last reply
        0
        • R Remco V

          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!

          J Offline
          J Offline
          James Spibey
          wrote on last edited by
          #4

          Thanks for the response but it was the URLScan component of IIS Lockdown wheich was restricting the downloading of exes. God know why :)

          Richard DeemingR 1 Reply Last reply
          0
          • J James Spibey

            Thanks for the response but it was the URLScan component of IIS Lockdown wheich was restricting the downloading of exes. God know why :)

            Richard DeemingR Offline
            Richard DeemingR Offline
            Richard Deeming
            wrote on last edited by
            #5

            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 and Response.BinaryWrite the file.

            "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups