Click Ad Spam Attack Protection

Job ID: 37256547

Budget: €30 – €250 EUR

Hi,
I'm looking for someone that can creatively code a "Click Ad Spam Attack Protection" script that can be added into any PHP website.

Here is what the Script should do:

1. If an Ad Unit is being clicked X times in X hours/days by a IP4/IP6 address. Then the script should block displaying this Ad Unit for this IP4/IP6 address, by removing the Ad Unit <div>*</div> HTML element on a current live page and on the page rendered stage.
2. The Script needs to work with Ads that are being loaded in an HTML iframe element.
3. The Script should also detect a touch screen click and also the right-click.
4. The Script should have a basic web control panel login page where you can configure all the script settings.
5. Adding an option to delete all the blocked IP4/IP6 addresses or only a single blocked IP4/IP6 address.
6. Adding an separate section for adding permanently blocked IP4/IP6 address ranges and single IP4/IP6 addresses.
7. The page load should not be impacted to much by this Script.
8. Needs to be compatible with PHP 8.2 and MySQL 8.4 (MariaDB 10.11) and vanilla JavaScript (No jQuery).
9. All additional improvement ideas your bring into this Project will be paid extra.

-> Please post what coding method you would use to stop/remove the rendering of the Ad HTML code for a blocked IP address.
-> Also quick post your creative way on how you would code this script and why it would be the best solution in your option.
Related categories: PHP JavaScript Web Security MySQL MariaDB