IIS Web Application & Virtual Directory Access
Posted on 2012-09-20
I currently have a web application that runs under an app pool impersonating a domain account (my webserver is on the domain).
I am trying to setup a virtual directory within this web application that contains numerous pdf's that will be displayed to the user on the webpage.
When setting up the virtual directory i can test the connection and get a green light, saying the app pool identity has access to the folder. I have verified the share and security permissions on the physical folder and the app pool impersonate account has full rights.
When the webpage loads it displays the pdf in an iframe. This works when I have Anonymous Authentication turned on in the virtual directory settings (IUSR) but as soon as I disable this and want it to use windows auth (assuming it is going to use the app pool identity) the pdf will not display and prompts for a login. I have even tried turing on ASP.Net impersonation for the virtual directory and specifically enter my domain app pool account and it still does not display the pdf.
Is this normal behavior?
Does the local IUSR account have some special setting (security) that my domain account (currently a domain admin acct while I am testing) would not have?