Use action="clientcache"? On Fri, Jul 16, 2010 at 12:11 PM, Spencer K <[email protected]> wrote:
> > Hi cfers, > > We are considering implementing cfcache on our busy site (CF8), but as I > understand it, CFMX creates a page on disk for every unique set of URL > variables. > > So what stops a malicious attacker performing an attack where they just > flood a > cached page with unique URLs? > > mycached.cfm?id=1 > > mycached.cfm?id=2 > ... > mycached.cfm?id=888888888888 > ... > ? > > As I understand it, the machine would cache templates to disk > indefinitely. If > the cached page is anything significant, it could quickly fill up the disk, > crashing the server, causing memory problems as disk space decreases, and > causing other significant disruptions. Or, the directory fills up with > tens of > thousands of files, causing all sorts of other performance issues. > > Is there any protection against this scenario? Any best practices with > cfcache > to prevent it? Is there an easy way to bound/limit the resources cfcache > can > use? > > Thanks > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335409 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

