|
Posted by Nu on 02/01/07 10:14
"Nu" <no@spam.com> wrote in message
news:uE9wh.489905$Fi1.59287@bgtnsc05-news.ops.worldnet.att.net...
> I want to protect myself from if someone with a fast connection hammers my
> site. It's not denial of service attacks, but offline downloaders (of
course
> that don't show they're offline downloaders in the useragent so I can't
> filter them by that). My main issue is my site is PHP so if they hammer
it,
> it gets all the PHP files executing and overwhelms the CPU. I'd like to be
> able to after a certain amount of hits on my index.php per second, so just
> refuse.
>
> I can't find how to do that. Can it be done in PHP, htaccess, etc.
>
> Any ideas?
It was faster than I thought to make and I got code running now throttling
my site. I will never have to have an offline downloader trying to crash the
server.\
Navigation:
[Reply to this message]
|