Forms authentication not securing files(other than web pages) in .net 1.1
-
I am working on a web application done in ASP.NET 1.1. The issue I face is I am not able to protect the .pdf files using forms authentication. Though the requests to .aspx web pages are redirected to the login page. the pdf files are getting opened in the browser(which does not happen in 2.0/3.5 versions). Another issue I ve observed is that none of the Global.asax events are getting fired during such a request.
-
I am working on a web application done in ASP.NET 1.1. The issue I face is I am not able to protect the .pdf files using forms authentication. Though the requests to .aspx web pages are redirected to the login page. the pdf files are getting opened in the browser(which does not happen in 2.0/3.5 versions). Another issue I ve observed is that none of the Global.asax events are getting fired during such a request.
-
did you configurate the cobfugration file to secure your application??:confused:
-
did you configurate the cobfugration file to secure your application??:confused:
-
I am working on a web application done in ASP.NET 1.1. The issue I face is I am not able to protect the .pdf files using forms authentication. Though the requests to .aspx web pages are redirected to the login page. the pdf files are getting opened in the browser(which does not happen in 2.0/3.5 versions). Another issue I ve observed is that none of the Global.asax events are getting fired during such a request.
This thread has helped me fix it. http://stackoverflow.com/questions/272447/net-forms-authentication-how-to-limit-access-to-resources-like-pdf-files-to-aut[^]