开发者

How to use XDocument.load / save methods on a password protected network drive?

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 applicat开发者_如何学Cion.


  1. You need to provide the correct permissions to the process that is running your asp.net code eg your app pool.

  2. You can use impersonation in an Extranet environment so that the thread runs as the user connecting to the asp.net page.

  3. You can temporarily elevate permissions on the thread that opens the file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜