General Community > Off-Topic

Securing WB by trapping IP

<< < (2/2)

ctec:

--- Quote from: VSG on June 12, 2012, 08:24:33 AM ---This is an interesting concept - maybe banning the IP address for a certain time-period - let's say 2 hours or so would be sufficient. Bots most likely should have moved on by then and if a hacker has an interest in your site they will probably just be encouraged by something like this.

But did I miss something? Is there information on where to obtain the code in order to implement it in WB yet? I failed to see this somewhere ...

I agree that blocking the backend only would probably be a better idea. For example if you get a dynamic IP address as I do from my internet service provider then mine might be blocked even if I did never visit your site before. Or you would have to dump all the blocked IPs within a 24 hour period. So not to drive away possible visitors of the site.

As I said interesting concept and I'd like to try this on my site - this way I would at least get an information on how often someone tries to access the admin-folder.

Best regards,
VSG

--- End quote ---

I have implemented a time period script. What this will do is clear the banned text file. You will however have to set up a cron job to run the script. The script is there to be use if not you just don't set a cron job. Currently looking at the code to be in the admin side only. But I would add . Htaccess to the admin folder or what ever you have named the admin folder to.

Navigation

[0] Message Index

[*] Previous page

Go to full version