防止在调查网站上多次注册 [英] Prevent multiple registrations on a survey website

查看:37
本文介绍了防止在调查网站上多次注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个任何人都可以投票一次的调查网站.显然,我必须防止多次注册才能使调查保持相关性.我强迫每个用户使用他们的 Google、Facebook 或 Twitter 帐户登录.但是如果他们每个人都有一个帐户,他们可以验证 3 次,或者在同一平台上使用多个帐户进行验证(我在 Google 上有 3 个帐户).所以我想存储他们的IP地址,但他们仍然可以使用代理.我可以使用 PHP 的 get_browser() 保留 HTTP 用户代理,尽管他们仍然可以更换浏览器.我可以使用正则表达式提取操作系统,更改操作系统不如浏览器容易.还有地理定位,例如 Google 地图 API.

I am developing a survey website where anyone can vote once. Obviously I have to prevent multiple registrations for the survey to remain relevant. I force every user to login with their Google, Facebook or Twitter account. But they can authenticate 3 times if they have an account on each, or authenticate with multiple accounts on the same platform (I have 3 accounts on Google). So I thought to store their IP address, but they can still use a proxy. I could keep the HTTP User Agent with PHP's get_browser(), although they can still change browsers. I can extract the OS with a regex, to change OS is less easier than browsers. And there is also geolocation, for example with the Google Map API.

  • 如何防止多次注册?可以做什么样的测试?
  • 如何嵌入这些测试?按什么顺序执行?
  • 您是否已经部署了这种解决方案?

推荐答案

您可以通过手机验证用户,通过发送带有一些代码的短信给它.这将限制投票计数为用户拥有的手机号码的计数.

You can verify user by mobile phone, by sending text message with some code to it. This will limit votes count to count of mobile phone numbers owned by user.

这篇关于防止在调查网站上多次注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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