P
Penguini
I have a website using c# and .Net 2. I have two .txt files placed in
a subfolder that I need to protect. The site is protected by Forms
Authentication, and the files are inside a folder that is set to deny
anonymous access. When run locally on my machine, this all works fine;
typing the full path of one of the text files redirects the user to
the login screen as expected. However, when I publish the website to a
webserver, typing the full path simply opens the text file in an IE
window - no redirection takes place. How can I stop this? Any help
greatfully received!
a subfolder that I need to protect. The site is protected by Forms
Authentication, and the files are inside a folder that is set to deny
anonymous access. When run locally on my machine, this all works fine;
typing the full path of one of the text files redirects the user to
the login screen as expected. However, when I publish the website to a
webserver, typing the full path simply opens the text file in an IE
window - no redirection takes place. How can I stop this? Any help
greatfully received!