I'm coding an intranet system that writes files locally to the webserver, through a script using
ADODB.Stream. The problem is, it uses the logged Windows/AD user account to do so, as impersonation is activated by default in IIS - and I actually need it activated most of the time. Since I don't want to give write access to the webserver to anyone that needs to make use of the system, I need to temporarily "unimpersonate" the session back to the "IUSR" account.
How could I do that? Preferentially in classic ASP, as the whole site is coded in it, but could be something in ASP.net (C#) too.
I work for a large company, and my access to the IIS control panel/server machine is a bit limited (need to deal with another department). And I can't install any custom modules or DLLs either.