Downloading files
-
I have some files stored in the virtual directory. But I want those files only be able to downloaded only after form authentication. Those not logged in will not be able to access those files even if they typed in the URL How do i go about doing that? Thanks alot
-
I have some files stored in the virtual directory. But I want those files only be able to downloaded only after form authentication. Those not logged in will not be able to access those files even if they typed in the URL How do i go about doing that? Thanks alot
use forms authentication for that. The privileged directory of forms authentication is where u should put those files. put forms authentication into web.config file. search for details on codeproject by forms authentication... Mikail Çetinkaya . The C# DEveloper
-
I have some files stored in the virtual directory. But I want those files only be able to downloaded only after form authentication. Those not logged in will not be able to access those files even if they typed in the URL How do i go about doing that? Thanks alot
Heres is a good link http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT02.asp[^] It would be best however to offer a downloading page, rather than letting them find it. Security wise. Nick 1 line of code equals many bugs. So don't write any!!