Re: Forms authentication doesn't work for downloads
From: John Timney \(ASP.NET MVP\) (timneyj_at_despammed.com)
Date: 11/23/04
- Next message: jela: "Why check request.isAuthenticated"
- Previous message: Teemu Keiski: "Re: Forms authentication doesn't work for downloads"
- In reply to: Peter Afonin: "Forms authentication doesn't work for downloads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 23 Nov 2004 20:48:53 -0000
Forms authentication is handled by the framework - thus you likely need to
pass that type of file through the asp.net handler by mapping it in IIS...
-- Regards John Timney ASP.NET MVP Microsoft Regional Director "Peter Afonin" <pva@speakeasy.net> wrote in message news:%23iyeHzZ0EHA.2316@TK2MSFTNGP15.phx.gbl... > Hello, > > I'm using Forms authentication, and it works well. If user is not > authenticated, he is routed to the login page. > > However, this doesn't work for downloads. If I have a file located in the > restricted area and put a direct link to it - anyone can download it. > > Why is this? I expected that people would also be routed to the login > screen. How to make this happen? > > I would appreciate your help. > > Thank you, > > -- > Peter Afonin > >
- Next message: jela: "Why check request.isAuthenticated"
- Previous message: Teemu Keiski: "Re: Forms authentication doesn't work for downloads"
- In reply to: Peter Afonin: "Forms authentication doesn't work for downloads"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|