Hey everyone,
Okay, here we go with another one. Server1 hosts my ASP.NET app (in C#) and Server2 has a shared folder that I connect to from Server1.
I have NT Authentication enabled for my web app. However, when the program tries to access a file on the share, I have to open up anonymous rights to the file(s), otherwise it cannot be opened.
Is there a way that I can pass the user's authorization to the file? I want to be able to protect the word documents in this shared folder so only those people with proper permissions can access them.
Thanks,
Chris
P.S. I've only made it to the File.Exists function so far, that if the user does not have permission, it returns false. I haven't tried doing any opens or anything yet.
Okay, here we go with another one. Server1 hosts my ASP.NET app (in C#) and Server2 has a shared folder that I connect to from Server1.
I have NT Authentication enabled for my web app. However, when the program tries to access a file on the share, I have to open up anonymous rights to the file(s), otherwise it cannot be opened.
Is there a way that I can pass the user's authorization to the file? I want to be able to protect the word documents in this shared folder so only those people with proper permissions can access them.
Thanks,
Chris
P.S. I've only made it to the File.Exists function so far, that if the user does not have permission, it returns false. I haven't tried doing any opens or anything yet.