[eluser]vanquish[/eluser]
I am looking for ways to implement flood control on my website. It is a fairly large website and I don't want the possibility of anyone trying to crash my database or server.
For example, someone could rapidly post many comments or run a search hundreds of times per second. This can really slow down MySQL or cause me a spam nightmare.
Does anyone know of any libraries that can help prevent such things? So far, I cannot find any such support built into the base libraries of CodeIgniter.
I noticed that many forum systems (including this one I think) don't let you post more than 1 message within a specified time limit - 15 seconds, for example. Also, larger sites such as Facebook DO allow you to continue posting, but they require you to enter a captcha to continue.
I am looking for a script that will either:
a) Disable multiple posts/searches within a short timeframe and notify user of the policy.
OR
b) Require the user to enter a captcha to continue.