Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler...
From: bruce barker (nospam_brubar_at_safeco.com)
Date: 02/18/04
- Next message: Bort: "GetPostBackEventReference"
- Previous message: Jim Cheshire [MSFT]: "RE: <customErrors .... not working??"
- In reply to: Earl Teigrob: "Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler..."
- Next in thread: Earl Teigrob: "Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler..."
- Reply: Earl Teigrob: "Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler..."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Feb 2004 15:53:37 -0800
asp.net works by iis opening a pipe to the worker process. IIS then sends
the request to the worker process which pipe the response back.
IIS has special code to speed up downloads which you will lose, (and you
will be limited to about 200 downloads at a time), but you want to replace
the PAGE module with one of your own, that just streams out the file (after
checking security). the easiest way is to to build a new vir dir for
downloads.
-- bruce (sqlwork.com)
"Earl Teigrob" <earlt777@hotmail.com> wrote in message
news:elDqNHn9DHA.1268@TK2MSFTNGP12.phx.gbl...
> My company sells software and wants to provide downloadable product. Some
of
> these downloads will be full CD's of over 550M
>
> I had everything working fine using Response.filewrite() but when we
tested
> it with large files, it blew up. (crashed the server, well documented
> problem)
>
> I can download a file just fine if I just point to the download file and
let
> IIS generate the download dialog (but with no security, of course)
>
> In order to add security, I set up IIS to forward the request for a page
to
> aspnet_isapi.dll to let it handle security via a authentication ticket.
> I can actually get the security part working fine but when the user has
> rights to download the file, then asp.net tries to process the file (using
> the default HttpHandler, i imagine) and everything crawls to a stop.
Ideally
> I would like to send the page back to IIS for processing if asp.net
security
> passes. Is there a way to do this? Can I create an HttpHandler that
> basically sends the page back to IIS? If not, what HttpHandler to I use to
> bring up the download dialog to the user and then download the file? ...or
> do I need to create my own, and what would it look like?
>
> Thanks
>
> Earl
>
>
>
>
>
- Next message: Bort: "GetPostBackEventReference"
- Previous message: Jim Cheshire [MSFT]: "RE: <customErrors .... not working??"
- In reply to: Earl Teigrob: "Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler..."
- Next in thread: Earl Teigrob: "Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler..."
- Reply: Earl Teigrob: "Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|