Use a content delivery network (CDN) or something like Amazon S3.
CDNs are usually targeted at large-scale anonymous access, which is
not quite what you want.  S3, on the other hand, is private by
default, and can easily be accessed by secured URLs that are only
accessible for a narrow window of time.  So someone requests your
asset, and instead of serving it with CFCONTENT, you redirect them to
S3 with a URL that's only good for a handful seconds.  I do this for a
few different things, and it works like a charm.  It also offloads the
bandwidth from my infrastructure to Amazon's.

You might be able to synthesize something like this with IIS, as well.
 It won't server a given asset unless it has some one-time or
short-lived token attached to the URL.  Set that up to protect your
downloads, and then do the same compute token/redirect thing to your
own IIS server and let it serve the file instead of CF.

cheers,
barneyb

On Mon, Jun 9, 2008 at 11:50 AM, George Abraham
<[EMAIL PROTECTED]> wrote:
> Hi all,
> CFMX 7 Enterprise on IIS and Win 2003. Relatively medium traffic website,
> probably about 200 or so downloads a day, ranging from 1MB to 1GB or so.
> This is expected to double every 3 months or so.
>
> I read that cfcontent utilizes a single thread for the duration of a file
> download. I also read Ben Nadel's post here:
> http://www.bennadel.com/index.cfm?dax=blog:1226.view on sidestepping some of
> that. There was a bit of discussion about using x-sendfile with lighthttpd
> and Apache, but I don't have that option since I am condemned to IIS.
>
> The question is: are there any other alternatives? I could initialize
> another instance and make it handle only the download requests, but can't
> really guess at the long-term viability of that.
>
> Thanks,
> George
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307103
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to