User permissions on mapped network drive
We are developing a system that needs to read from a datasource on a seperate machine on the network. The webserver has been isolated from the rest of the network for security reasons. We do have access to a mapped network drive that points to the datasource directory. Using CreateObject("WScript.Shell") an exe is called on the webserver that needs to read the data via the mapped drive. We can switch user account using safileup's filemanager and this user is able to run the exe successfully if the call is manually entered into a dos box. However, through an asp script, even if we do switch user via safileup's filemanager, we cannot use the mapped drive and read the data. I think this is because the IWAM_ user is still the process user and this account doesn't have permission to use the mapped drive. Obviously, there is a reluctance to add the IWAM_ account to the domain so this has us stumped. Can anyone shed any light on this - if it's possible or any alternative methods. I appreciate this may be a little vague so throw any questions you may have at us.
Many thanks in advance
Karl - Affinity
|