0
Views
1
Comments
How to call use security credentials when acessing a shared folder?
Question
I Want to access a shared folder in a Windows Filesystem, but in another domain ( thus public access will not work ). What is the best way to pass the necessary credentials?
2011-08-23 22-04-05
Tiago Simões
Staff
Hi Pedro,

You can check https://aspalliance.com/336 on how to do this.

The step related to changing the web.config file maps to:

1 - Go to Service Center
2 - Go to edit eSpace page
3 - On the Runtime tab fill Run As username and password
4 - Republish the eSpace

Another option would be to do this impersonation in an extension using the .net methods (https://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPrincipalWindowsIdentityClassImpersonateTopic.asp).

Hope this helps.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.