On my website I did not wan't to use those distorted text CAPTCHAS. So I decided to go for a hidden field captcha.
e.g.
<form>
<input type="text" name="surprise" value="" style="display: none; visibility: hidden;"/>
</form>
Real user will not see this field, therefore they will leave it blank, where as spam bots will fill it in. I can then check if "surprise" field is empty or not and if it is empty continue stuff.
But I'm now asking this method, I don't think it is very secure. So can you suggest? is it safe? are there any other methods of CAPTCHA that don't require user to enter text from image?
Is CAPTCHA the perfect solution. No, it doesn't. For one, although Google's new system is supposed to be quite effective against automated bots, some hackers still reckon that they can organize an attack with a respectable success rate.
A hidden field lets web developers include data that cannot be seen or modified by users when a form is submitted. A hidden field often stores what database record that needs to be updated when the form is submitted.
What you have here will probably help to deter spam but it is far from a complete solution. A proper CAPTCHA will get you a lot further, but depending on your needs and usage scenarios, your solution might be adequate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With