AS/400 IFS Folder access in c# that prompts for user credentials

45 pts.
Tags:
AS/400 Folders
AS/400 user permissions
ASP.NET
IFS Folder
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

<b>Elai,

That’s because the users need to have permission to the particular directory where the files exist in the IFS.</b>

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Lacain
    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.
    20 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following