Click here to Skip to main content
15,907,395 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
What is the safest (and easiest way) for an ASP.NET MVC application to do impersonation in a section of code where an uploaded file can be written to a network share (in the same domain)? I am trying to avoid anything to do with "act as part of the operating system" type priveleges.

I do have a network share, and an AD network service account that has full rights to the share .. but am still missing one vital piece as to getting this to all work.

1 solution

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900