accessing files in folder not under the web application

S

Swati

Hello All,

I have a web application. It can be used with Forms authentication or
Windows authentication. The application has to access files that are
placed in different folders which not under the web application on the
same server or on some shared folder on the network.
These folders have user specific rights. e.g.
User1 has rights for Folder1
User2 has rights for Folder2 ... and so on.
When I use Windows Authentication with impersonate=true, I have no
problem accessing the files. Also, the files are well protected.

When I use forms authentication, I have to give rights to the aspnet
user for these folders if I have to read these files. If that is the
case, any asp.net web application can access these files. This does
not seem to be the proper solution.

Can anyone suggest what I can do in this scenario?

-
Swati
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top