打击垃圾邮件机器人 [英] fighting spam bots
问题描述
我在该网站C#的形式,并要防止垃圾邮件机器人填满它。
下面是一些技巧我在我的脑海里>
- 隐藏输入字段(问题:这是仍然有效?)
- 轨道时间,因为第一用户输入(重点名字),直到提交表单..人类将需要超过3秒就可以完成一个表格(甚至自动填充),其中机器人进行第二次或更少填写登记和张贴。 (问题:如果我的第一用户输入启动定时器,当我应该停止吗?)
- 在表单标签的假帖子的网址,或交的形式把它本身,而只对提交按钮点击操作添加一个真正的URL后用JavaScript。 (问题:不知道新的垃圾邮件机器人可以欺骗这个)
我会很高兴听到其他技术,我可以采纳,再次,不使用CAPTCHA,垃圾邮件过滤器,表单验证,甚至验证。谢谢
一年前,有一个很好的控制asp.net是把一个隐藏字段的形式。通过一段JavaScript公式。机器人贴回来 - 它想要的结果(第一次存储在结果会话)。基本上,随着机器人不解释的形式在浏览器(太慢了)......;)得到了大多数刚刚扔在那里。
此外,另一个提示:在放隐藏域的电子邮件来解决。有些(旧)PHP的形式使用邮件supportnig这一点。明明只有一个机器人罢了,说出来;)如果不为空 - >垃圾
任何人有任何的奇思妙想? ;)
I have C# form in the site and want to prevent spam bots from filling it. The trick is, that I want to avoid CAPTHA or any other user input to avoid loosing a single registration.
Here are some techniques I have in my mind:
- Hidden input field (question: is this still effective?)
- Track time, since the first user input (focus on FirstName) till posting a form.. Humans will take more than 3 seconds to complete a form (even with auto-fill), where bots take a second or less to fill in registration and post it. (question: if I start timer with the first user input, when should I stop it?)
- Put in the form tag a fake post url, or post form to itself, and only on Submit button click action to add a real post url with javascript. (question: wonder if new spam bots can cheat this?)
I would be glad to hear other techniques I could adopt, again, without using CAPTCHA, spam filters, form verifications and even validation. Thank you
A year ago there was a nice control for asp.net that put a hidden field on the form. With a javascript formula. Robots posted it back - and it wanted the result (stored the result first in the session). basically, as robots dont interpret the form in a browser (too slow).... ;) Most got just thrown out there.
Also, another tip: put in hidden fields for the email to address. Some (old)php forms use a mailer supportnig this. OBVIOUSLY only a robot fills that out ;) If not empty -> garbage.
Anyone else have any smart ideas? ;)
这篇关于打击垃圾邮件机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!