Hi,
I'm developing an web application where users can access files within a folder in IFS on as400.i've created a map network drive to that folder but i can't access it through c# (
\remoteserverfolder). it says that this path does not exist or access is denied, this because i don't know how to pass the credentials to the open process of directoryinfo. Can anyone please help me. All i want to do is pass the credentials that the user should fill when a prompt form appears and then open the folder and view the files.
Thnx a lot.
Software/Hardware used:
asp.net,ifs as400
ASKED:
June 22, 2011 11:03 AM
UPDATED:
June 30, 2011 3:08 PM
What I had to do in a similiar situation was to create a guest account for the IFS and assign that guest account permission on that folder. The guest account allows access to the folder with out specific credentials being passed.
That could be a problem though if the data in the folder is sensitive, because it will open it up to anyone that can access the mapped drive.