Protect your PHP website against flood/DoS attacks

Jan 28, 2014 23:41 GMT  ·  By

In case you fear that your website might be targeted with flood or denial-of-service (DoS) attacks, you should check out IOSEC, a PHP script that’s designed to protect sites against such threats.

To use IOSEC, all you need to do is include “iosec.php” in the PHP files that you want to protect. When a large amount of HTTP requests are detected, the user that’s sending them is blocked.

When a certain IP is blocked, a warning page is displayed. If a real user is behind the IP address, he/she can solve a CAPTCHA and continue to the website. If it’s a bot, the attack will be blocked.

One-time, time-based or implicit blocks can be set. Users can modify several other options through the application’s configuration file.

The application’s developers say that IOSEC is used by more than 15,000 websites.

You can download IOSEC from Softpedia’s Scripts section. A demo video is available on YouTube.