将帐户限制为每个用户1个-PHP [英] Keeping accounts restricted to 1 per user - PHP

查看:89
本文介绍了将帐户限制为每个用户1个-PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前正在设计的网站遇到了一些麻烦-基本上我的客户很清楚,他需要一个人=一个帐户功能,现在我并不是分析领域的佼佼者(尽管我的编程工作很出色)背景),所以我真的可以使用一些建议.

The website that I am currently designing has run into a bit of a snag - basically my client has mad it clear that he needs a one person = one account feature, now I'm not the best at analytic's (despite my programming background) so I could really use some suggestions.

我们正在使用PHP进行编程,我100%意识到没有一种解决方案可以100%阻止该问题,但是我需要尽可能接近100%的解决方案,到目前为止,我已经尝试过...

We are programming in PHP, and I'm 100% aware that there isn't a solution that would 100% prevent the problem, but I need as close to the 100% as I can get and so far I have tried...

  1. 将Cookie放置到用户浏览器中.解决方法-切换浏览器.
  2. 跟踪IP.解决方法-更改IP,重置路由器等.(每个IP允许一个以上的用户).
  3. 使用分析程序尝试跟踪操作,例如帐户A被注销,然后一分钟后帐户B从同一IP登录. (这似乎是最有效的方法,但是要花一些时间才能使它继续运行,所以我想尽可能地使其自动化,或者在可能的情况下消除手动监视的必要.
  1. Placing cookies to the users browser. Workaround - Switch browser.
  2. Tracking IP. Workaround - change IP, reset router etc. (Also, more than one user per IP is permitted).
  3. Using analytic's to try and track actions such as Account A being logged out, then a minute later account B logging in from the same IP. (This seemed to be the most effective, but it took a few people to keep it going so I'd like to automate it as much as possible or if possible eliminate the need for manual monitoring.

问题在于,我的客户网站的用户将根据不同的操作获得付款,而我的客户已经决定了10美元的最低提款金额,并且付款将通过PayPal进行处理.

The problem is that the users of my clients site will be paid depending on different actions and my client has already decided on a $10 minimum withdraw amount, and payments will be handled via PayPal.

因此,如果该网站不启用这些功能,基本上使用多个帐户可能会使我的客户损失很多钱.

So basically multiple account usage could cost my client a lot of money if the site goes live without these features.

我还想保留此后端(可能的cron-tab).只是要清楚.

I would also like to keep this back-end (possible cron-tab). Just to be clear.

任何帮助/输入/建议将不胜感激.

Any help/input/suggestions at all will be massively appreciated.

Tah

PS-我已经签出了此问题(帐户验证:仅1个每个人的帐户),这是我从中得出第3点的想法的地方.

PS- I have already checked out this question (Account verification: Only 1 account per person) which is where I got the idea for point 3 from.

推荐答案

真正阻止某人注册多个帐户的唯一方法是要求他们提供特定于他们的个人信息.我遇到了这个问题,最终不得不跟踪社会保险号以防止出现多个帐户.当然,我正在从事的项目是针对一所学校,而该学校已经有了此信息.另外,对于新用户注册,提供此信息对他们来说并不稀奇.

The only way to really prevent a person from signing up for multiple accounts would be to ask them for personal information specific to them. I ran into this issue and ended up having to track social security numbers to prevent multiple accounts. Granted, the project I was working on was for a school and the school already had this information. Also, for a new user signing up, it wasn't unusual to them to give this information.

通过阅读一些评论,我可以说,即使贝宝(PayPal)可以跟踪重复的帐户,也不太可能授予您访问此信息的权限,甚至只是说是的,这是重复的"或不,它不是重复的".

Reading some of the comments, I can say that even if PayPal had a way to track duplicate accounts, it is highly unlikely that you would be granted access to this information, even just to say "yes this is a duplicate" or "no it is not a duplicate".

我真的认为SSN是您最好的选择.

I really think SSN would be your best bet.

这篇关于将帐户限制为每个用户1个-PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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