I’m wondering what the best way is to use the XDocument.load and save methods on files located on a password protected netshare. I’m building an asp.net mvc application.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to provide the correct permissions to the process that is running your asp.net code eg your app pool.
You can use impersonation in an Extranet environment so that the thread runs as the user connecting to the asp.net page.
You can temporarily elevate permissions on the thread that opens the file.