网站中的垃圾邮件检测

发布于 2024-09-15 19:16:11 字数 145 浏览 7 评论 0原文

我正在考虑制作一个网站..并且我想跟踪发送的消息! 如果有人而不是计算机正在发送与主题完全无关的消息怎么办……有什么方法可以阻止这种情况! [除了公共合作之外]

就像 stackoverflow 如何跟踪垃圾邮件一样。 它如何确保发送的消息完全切题且主题相关!

i m thinking of making a website..and i want to keep a track on the sent messages!
what if some human and not a computer is sending messages that are nt at all subject related..any way to stop that! [apart from the public cooperation]

as in how does stackoverflow keeps track of spams..
how it makes sure that the message sent is totally to the point and subject related!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

囚我心虐我身 2024-09-22 19:16:11

每次用户通过您的网站提交内容时,您都应该检查是否有垃圾邮件。您可以确定,一旦您的网站上线,垃圾邮件机器人就会在其中爬行并提交他们看到的每个表单。

现在,有多种方法可以对抗他们的攻击。一个非常简单的方法是将验证码添加到您的表单中。但验证码并不是那么有效,而且用户往往讨厌它们。另一种方法是让他们提交,但管理员必须批准他们的提交。其他网站使用电子邮件来确保用户的真实性(例如论坛注册)。其他站点会阻止在 x 时间内提交过多表单的 IP。

正如您所看到的,有很多不同的技术(我没有全部列出)。您需要选择最适合您的一种。

Every time a user submits something through your website you should check for spam. You can be sure that as soon as your web site is on the web, spam robot will crawl trough it and submit every form they see.

Now, there are various ways to counter their attack. A very simple way is to add captcha to your form. But captcha aren't that effective and user tend to hate them. Another way is to let them submit, but then an administrator must approve their submission. Other site uses email to make sure user are authentic (forum registration for example). Other site blocks IPs that submit too many forms in x amount of time.

As you can see there is a lot of different techniques (and I haven't list them all). You need to choose the one that would work best for you.

流云如水 2024-09-22 19:16:11

我所做的一件事是使用有效消息的时间间隔。也就是说,在表单加载时启动计时器,并在响应被视为有效和无效之间设置一个确定的间隔(基于表单的长度)。如果它超出了这些范围,则按照其他人的建议使用验证码进行提示。它只是蜜罐中的一个额外层。

One thing I have done is use a time interval for valid messages. That is, start a timer when the form loads, and have a set determined interval (based on the length of the form) between when a response would be considered valid, and when it wouldn't. If it falls outside of those bounds, then prompt with a CAPTCHA as others have suggested. It's just an extra layer in the honeypot.

2024-09-22 19:16:11

验证码。它的实现取决于您使用的软件。
reCAPTCHA 经常被使用,因为它易于设置和使用。

CAPTCHA. It's implementation depends on what software you're using.
reCAPTCHA is often used as it's easy to setup and use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文