可以为每个人创建一个帐户吗?

发布于 2024-11-01 22:47:45 字数 57 浏览 4 评论 0原文

是否可以建立一个每个人只有一个帐户的网站?

任何建议都是好的。

谢谢

Is it possible to make a website with only one account per person?

Any suggestion is good.

Thanks

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

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

发布评论

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

评论(7

慈悲佛祖 2024-11-08 22:47:46

无论你做什么,人们仍然会试图反抗这个制度。如果您使用电子邮件,那么人们可以拥有多个免费电子邮件,如果您阻止免费电子邮件,很多人没有任何其他电子邮件,因此您可以阻止他们。如果您使用 IP,您就会阻止任何拥有共享 IP 的人,例如为其客户端强制使用代理服务器的 ISP。

除非你开始询问社会安全号码或 NI 或你的国家有的任何信息,并且你通常会开始疏远人们,因为他们会认为这些不相关的个​​人信息。

您只需要希望人们公平地对待您的网站,并了解一些习惯即可。

Whatever you do, people will still try to buck the system. If you use Email, then people can have multiple free emails, if you block free emails, lots of people dont have any other emails so you block them. If you use IP you block anyone with a shared IP such as ISPs who enforce proxy servers for their clients.

Unless you start asking for social security numbers or NI or whatever your country has, and you start alienating people as a rule because they would consider that irrelevant personal information.

You just have to hope people treat your site fairly, and know some wont.

久光 2024-11-08 22:47:46

如今,一种潜在的解决方案是仅通过更严格的服务提供商的身份联合来创建用户帐户。例如,使用 oauth 通过 Facebook 帐户验证您的用户。我相信 Facebook 非常擅长检测骗子/垃圾邮件发送者,您也可以在您的服务中利用他们的资源。

One potential solution these days is to only create user accounts via federation of identity from a much stricter service provider. For example, verify your users via a facebook account using oauth. I believe facebook is pretty good at detecting shills/spammers and you can harness their resources in your service too.

山有枢 2024-11-08 22:47:46

我认为你有 2 个选择,但都不能解决整个问题:

  1. 记录 IP 地址并防止从一个 IP 进行多次登录。不太好,因为如果大学生使用您的网站而宿舍使用共享 IP,这可能会适得其反。

  2. 记录 MAC 地址并防止从一个 MAC 进行多次登录。更好,但它会阻止同一家庭的多人使用您的网站,并且大多数家庭都有不止一台计算机/移动设备。

您始终可以结合使用这两个选项,但对于多个移动设备来说,可以绕过这一点。

I think you have 2 options, neither of which will solve the whole problem:

  1. Log the IP address and prevent multiple logins from one IP. Not great, as this will probably backfire if college kids use your site and the dorm uses shared IPs.

  2. Log the MAC address and prevent multiple logins from one MAC. Better, but it will prevent multiple people from the same household from using your site, and most houses have more than one computer/mobile device.

You could always combine the two options, but again with multiple mobile devices it's possible to circumnavigate that.

半世晨晓 2024-11-08 22:47:46

您可以编写一个代码,只允许每台计算机创建 1 个帐户。您必须能够获取计算机的 IP 地址并阻止其创建超过 1 个帐户。

you could make a code that only lets 1 account be made per computer used. you have to be able to get the computers IP address and block it from making more than 1 account.

失与倦" 2024-11-08 22:47:45

如果您不希望人们每分钟生成 100 个帐户,您将需要验证码之类的东西,它很容易添加到您的网站上。

您还可以执行其他操作,例如将每个帐户与电子邮件地址相关联,并通过向该电子邮件地址发送链接来让用户验证该电子邮件是否确实存在,以便当用户单击它时,它会验证连接。

要为每个人关联一个帐户,您将需要使用某种官方身份,通常对于较小的网站来说这是没有意义的。我所说的官方身份是指验证他们的信用卡或政府身份(社会保障?),但随后你会遇到很多问题,因为人们不想这样做,并且需要花钱来确保这些身份是真实的。另外,如果您确实需要这样的东西,您将必须增强网站的安全性。

If you don't want people to go generating 100 accounts a minute, you'll need something like captcha, which is very easy to add on to your website.

You can do other things, like associate each account with an email address, and make the user verify that that email actually exists by sending a link out to that email address so that when they click on it, it verifies the connection.

To associate exactly one account per person, you are going to need to use some sort of official identity, and usually for smaller websites that doesn't make sense. By official identity I mean verify their credit card or government identification (social security?), but then you run into a lot of problems because people won't want to do this, and it is going to cost money to make sure that these identities are real. Also, if you really need something like this, you're going to have to beef up the security of your website.

櫻之舞 2024-11-08 22:47:45

另一种方法是要求用户输入您通过短信发送给他们的验证码,并确保他们输入的电话号码是唯一的,现在手机/SIM卡相对便宜,但大多数人不会付出这样的努力花费 5 美元购买一张新 SIM 卡即可在您的网站上获得重复的帐户。

(如果他们愿意,可以以 3 美元的价格出售帐户并降低 SIM 卡的成本;)

An alternative is to require a user to put in a verification number which you send to them via SMS, and ensure the phone number they enter is unique, phones/simcards are relatively cheap these days, but most people wouldn't go through the effort of spending $5 on a new simcard to get a duplicate account on your site.

(and if they would, sell accounts for $3 and undercut the cost of a sim ;)

一张白纸 2024-11-08 22:47:45

要求提供您可以验证的身份信息,例如信用卡数据,并仅允许使用此身份信息进行注册。当然,信用卡数据可能会被盗,因此您无法 100% 确定互联网或世界上的任何事情。

Ask for identifying information for example credit card data that you can verify and allow registrations only with this identifying information. Of course credit card data can be stolen, so you cannot be 100% sure about anything in internet or in world generally.

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