title: Pass-through authentication not working. IIS 7
body: <p>On IIS 7 I set up an application called "XYZ", and an application pool for it.</p>
  
  <p>I set the identity of this application pool to a custom user, let's call it "Mario".</p>
  
  <p>Mario has NTFS access to the folder/files in which XYZ points to (remote share).</p>
  
  <p>In the XYZ authentication settings, only windows authentication is enabled:</p>
  
  <p><img src="https://i.stack.imgur.com/yBqoq.png" alt="Authentication Settings"></p>
  
  <p>In the providers for windows authentication, only NTLM is active:</p>
  
  <p><img src="https://i.stack.imgur.com/ZMv5t.png" alt="enter image description here"></p>
  
  <p>Physical path credentials for XYZ are set to application user / pass-through:</p>
  
  <p><img src="https://i.stack.imgur.com/WKJjA.png" alt="enter image description here"></p>
  
  <p>So the problem is, when I go to <a href="http://server.com/XYZ" rel="noreferrer">http://server.com/XYZ</a> I get challenged (which is to be expected), but I does not matter what I put in, it looks like the authentication token is not accepted, and the browser challenges me again.</p>
  
  <p>I have looked at logs for Active Directory and the requests are coming through, but even when the user is successfully authenticated the browser challenges again.</p>
  
  <p><strong>HERE'S THE GOAL: to allow directory listing, but to use credentials provided by the user for NTFS access. Right now I can't get that to work. THANK YOU!</strong></p>
  
  <p>Here's the Web.config file:</p>
  
  <p><img src="https://i.stack.imgur.com/xMSur.png" alt="enter image description here"></p>