Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler...

From: bruce barker (nospam_brubar_at_safeco.com)
Date: 02/18/04


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
>
>
>
>
>



Relevant Pages

  • Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler...
    ... example for an HttpModule that just streams out the file? ... > asp.net works by iis opening a pipe to the worker process. ... >> I can download a file just fine if I just point to the download file and ... >> In order to add security, I set up IIS to forward the request for a page ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler...
    ... If you have a solid budget, FileUPEE is a commercial product that supports ... > I can download a file just fine if I just point to the download file and ... > In order to add security, I set up IIS to forward the request for a page ...
    (microsoft.public.dotnet.framework.aspnet)
  • Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler...
    ... I can download a file just fine if I just point to the download file and let ... In order to add security, I set up IIS to forward the request for a page to ... the default HttpHandler, i imagine) and everything crawls to a stop. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Securing Huge Downloads using IIS, aspnet_isapi.dll, HttpHandler...
    ... way to stream large files though .NET without severe memory issues. ... writing a custom IIS ISAPI filter that interacts with a ASP.NET ... >> the request to the worker process which pipe the response back. ... >> checking security). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS7 - Developing native code in VStudio 2008
    ... the DLL was compiled on thesame machine as IIS is ... A listener channel for protocol 'http' in worker process '1432' serving ... data field contains the error number. ...
    (microsoft.public.inetserver.iis)

Loading