Hello all, I have been searching high and low and cannot find a solution to my problem. I have an IIS 8.5 server configured with PHP 7.1. I have an HTML page (basic input form) that calls a PHP script, which then outputs the contents of the form to a TXT file located on a Windows file share. The problem I am running into is that this process only works if I configure the target virtual directory (Connect As...) with a specific user. I can't use static credentials to the requirement is that I use pass-through authentication and disable anonymous authentication.
I have been searching high and low and cannot find a solution to my problem. I have an IIS 8.5 server configured with PHP 7.1. I have an HTML page (basic input form) that calls a PHP script, which then outputs the contents of the form to a TXT file located on a Windows file share. The problem I am running into is that this process only works if I configure the target virtual directory (Connect As...) with a specific user. I cannot use static credentials so the requirement is that I use pass-through authentication.
I have tried three different virtual directories pointing to different file shares. I have granted full access to various network entities (authenticated users, network services, Everyone, machine account, etc) with no luck. Removing anonymous access and enabling pass-through authentication prompts me for login credentials but typing in the information doesn't do anything and then I get error 401 - Unauthorized: Access denied due to invalid credentials.
This shouldn't be so difficult. What am I missing?
BTW, testing this same process on a Windows 7 machine running IIS 7.5 actually works (same remote share). This has got me scratching my head even more.
Please help.
Thanks