I have an ASP.NET app that writes files to a NETAPP. It's finicky, and the only way we could get it to work was to set <identity impersonate="true"/>
and remove the <authentication.../>
tag in web.config. This allows the app to write to the NETAPP (with the appropriate monkeying of permissions behind the scenes), but now my app can't tell who is actually using it. Is there another way to get the user's ID without forcing them to log in? This is an internal app, so it would only be run from workstations with a logged in user. Any ideas?
Edit: I'm not an IIS expert, but I believe the app was set up to run under a certain privileged account to get it to work. I'm also looking for alternate ways to set this up if there is no way to get the user's ID.