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
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