停止没有验证码的垃圾邮件 [英] Stop spam without captcha

查看:73
本文介绍了停止没有验证码的垃圾邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想阻止垃圾邮件发送者使用我的网站。但是我发现验证码非常烦人。我不仅在谈论键入文本类型,还涉及任何需要用户浪费时间证明自己是人类的事物。

I want to stop spammers from using my site. But I find CAPTCHA very annoying. I am not just talking about the "type the text" type, but anything that requires the user to waste his time to prove himself human.

我在这里可以做什么?

What can I do here?

推荐答案

需要 Javascript发布大量的垃圾邮件机器人数据块,同时又不干扰大多数用户

Requiring Javascript to post data blocks a fair amount of spam bots while not interfering with most users.

您还可以使用一个漂亮的把戏:

You can also use an nifty trick:

<input type="text" id="not_human" name="name" />
<input type="text" name="actual_name" />
<style>
   #not_human { display: none }
</style>

大多数漫游器会填充第一个字段,因此您可以阻止它们。

Most bots will populate the first field, so you can block them.

这篇关于停止没有验证码的垃圾邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆