IIS 7.5 – 401.3 Unauthorized when trying to read a javascript file

November 23rd, 2009

Here is one that took me entirely too long to figure out. I downloaded this Nifty Corners Cube javascript… plugin I guess Ill call it? It was used in a past project I was on and I thought it was pretty cool. It will definitely save some time putting out a decent UX without having to round a bunch of images.

Anyway, I download the new version and for the life of me could not figure out why the fetch the blasted thing kept giving me 401’s. You know, the type of scenario when you strip out all asp.net security, grant ‘everyone’ full control of the entire website file system and run SysInternals procmon. Ya one of those.

So here was the deal: (right click js –> properties –> advanced)

 

image

 

I don’t know how or why that box gets checked, but if it is, then IIS will not read the file. Period.

So don’t check it ;)

Jarod Ferguson

  • http://aspnetsecurity.com/?p=396 Elegant Code » IIS 7.5 – 401.3 Unauthorized when trying to read a … | ASP.NET Security Watch

    [...] post: Elegant Code » IIS 7.5 – 401.3 Unauthorized when trying to read a … asp-net-security ASP.NET Security deal entire security the-deal the-entire type website-file [...]

  • http://sergiopereira.com/blog Sergio Pereira

    I see a lot of encrypted .zip files (and their contents) that are generated by Mac OS X. I don’t know what they are using to compress the file because I never get that issue on .zip files that I compress on my mac.

  • Parag Phanasgaonkar

    This solved my issue with encrypted images . thanks a lot

blog comments powered by Disqus