Secure .htaccess protection - 10 USD

"In short this is watching your server load, if gets bigger as defined,
system will write nice .htaccess with deny all requests, after server
load is gets normal, the secured .htaccess becomes replaced with that
one original."


Payment & info -> via PM

Config:
define( "MY_IP", "" );
define( "MAX_SERVER_LOAD", "1" );

MY_IP -> Your ip, example -> define( "MY_IP", "127.1.2.3" );
MAX_SERVER_LOAD -> Maximal server load, example -> define( "MAX_SERVER_LOAD", "10" );
Make cron at your server and add into it this url index.php?action=api
And run it every minute/half hour/hour or as you wish.

If the server load becomes bigger as you defined in index.php in MAX_SERVER_LOAD
server automatically write new htaccess to deny all requests.

You must yourself lock out that secured htaccess by going to aka admin panel
at index.php and click to .htaccess -> RESTORE.

Script writes the following files ONLY:
*htaccess_tmp
*srvr_load

Script re-writes the following files ONLY:
*.htaccess
*srvr_load
devNULL Reviewed by devNULL on . [PHP] Secure .htaccess protection Secure .htaccess protection - 10 USD "In short this is watching your server load, if gets bigger as defined, system will write nice .htaccess with deny all requests, after server load is gets normal, the secured .htaccess becomes replaced with that one original." Payment & info -> via PM :) Config: Rating: 5