Accessing Network Drive with Credentials

Not sure exactly how to go about doing this. I need to access a network drive programatically, but with set of credentials different then the ones the application is running under.  Any ideas

Answer this question

Accessing Network Drive with Credentials

  • Ayla

    IMHO, you cannot do that, it's managed by windows...

  • Raghu12

    hmm, that seems weird. Accessing a secured resource with credentials seems like something that should be pretty standard. Just not sure if I need to use a WindowsImpersonateContext or PermissionPrincipal.
  • Accessing Network Drive with Credentials