Steve Joms Posted September 26, 2016 Share Posted September 26, 2016 (edited) Hi, Does any one here tried to use reCAPTCHA in there homepage to avoid abuse of sending request queries to the server (For example keep on clicking F5 key)? Thanks in advance for the answers -Joe Edited September 28, 2016 by joms (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted September 27, 2016 Share Posted September 27, 2016 Not sure if I understand your question correctly, reCAPTCHA is used to prevent automatically submit (POST) data to server, F5 is refreshing the page, it is "GET" data from server, I do not think you can use reCAPTCHA to preventing F5 refresh. Link to comment Share on other sites More sharing options...
Steve Joms Posted September 27, 2016 Author Share Posted September 27, 2016 Hi Shokinro, It is now fixed. Also I want to share this to others on How to Mitigate the DDoS attack on their site. I install HTTP Anti-Flood/DOS Security Module. 1. I downloaded the module from Sourceforge so its free (https://sourceforge.net/projects/iosec/?source=directory) 2. I unzip the file and copy the contents to my root folder (html folder) 3. Then add the code "include ('iosec.php');" to index.php located at the root folder (html folder) Then I am now testing it and its working well, when someone is trying to flood my site with a lot of request which can exhaust from resources before they successfully do that the Anti-flood module will turn them away by interrupting the specific IP sending flood request for a time being (For me I setup 10 seconds) and if they are real user not a bot they can do reCaptcha so they can get back to their browsing page right away. For simulation I use load tester tool (loadtestertool.com) to send a large traffic to my site, I used my desktop to send large of traffic then I check the website using my mobile phone who has different IP. The result is that large traffic can't exhaust my resources the anti-ddos module already blocked my desktop IP and my mobile phone act as a legitimate user so my phone can access the website smoothly. Note: my PS version is 1.6.0.9 Thanks, -Joe 1 Link to comment Share on other sites More sharing options...
shokinro Posted September 27, 2016 Share Posted September 27, 2016 Hi joms I am glad you find a way to resolve your problem and thanks for sharing. I think it will be benefit to other PrestaShop owners. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now