TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: name@a.com and name+1@a.com should be considered 2 different accounts?

6 点作者 mcs_超过 6 年前
assuming your websites has a sign-up and you provide some free credit&#x2F;usage for each new sign ups.<p>In gmail and GSuite accounts (not sure if other email services does the same) you can do the +1 trick.<p>Add +N after your username and receive the email in the same sandbox (which is actually useful in many cases).<p>The point is, knowing that, do you consider<p>user@gmail user+1@gmail user+2@gmail user+3@gmail user+4@gmail user+5@gmail<p>as 6 different and unrelated accounts in your db?<p>it is fair to _regex_ the email and remove the +1 trick?

12 条评论

_ah超过 6 年前
What is the value of the resource you&#x27;re providing with each signup? Running a regex is only worth it if you&#x27;re offering value that you have to pay for, like a free tshirt or some paid compute credits. And even then, it&#x27;s only a problem if you have insufficient cash to cover the abuse.<p>If however you&#x27;re offering LOW COST items (ex: digital goods, or a free month of your SAAS), then absolutely do not filter these. Search for them afterward and contact them. These are some of your most valuable users: people who are willing to put up with the pain of creating new logins over and over again just to use your service. Find out what they love. Find out what it would take for them to start paying. They can provide intelligence far in excess of the free service credits you&#x27;re providing.
评论 #18190662 未加载
tony-allan超过 6 年前
You should always treat that case as distinct email addresses.<p>If you have problems with one person signing up multiple times then this won&#x27;t fix it for you. There are many other ways a person can have lots of email addresses. You will waste a lot of time chasing your tail.<p>I reasonably use plus style addresses to establish different identities and I generally pass on a website if their registration or other processes assumes things about my address or disallow valid characters in an email address.<p>I also don&#x27;t try and rip-off a website by abusing their free services.
comboy超过 6 年前
You should treat them as unique, Google is not the only e-mail provider.<p>You can use that knowledge in constructing your anti-spam heuristics though.
phillipseamore超过 6 年前
A plus sign is allowed in the user part of email addresses. Though it&#x27;s most commonly used as a tag (and I&#x27;ve only seen it used that way) it could be used as an actual address and since the receiving mail server decides how to handle it you have no way of knowing.<p>If you choose to strip the tag I&#x27;d only do so when processing a new signup and make sure that the user can login with his user+tag@example.com and that all email goes to that address.
a-saleh超过 6 年前
The best solution to this problem I heard was to along these lines:<p>* have a separation between accounts and users. Account is the entity that pays for the service. Usually account has users associated.<p>* collect payment&#x2F;credit card information on account creation<p>This way, you don&#x27;t really care about user+1, because you have their payment info already, and can assume at least some intention to pay after their free tier is up.<p>There are many legitimate reasons why somebody while doing evaluation would create several users, i.e. I do name@a.com as well as name+testing@a.com in few services.<p>If you find out that too many of your customers are not willing to pay, look at it more as a business problem, trying to reach better customers that you can charge more, rather than to better enforce some account de-duplication.<p>I think I heard this approach from patio11, Amy Hoy or some interview on Mixergy?
评论 #18193276 未加载
throwaway5250超过 6 年前
For max portability, you should not try to notice that these variants might be the same account.
edoceo超过 6 年前
The address extension is not always a + symbol.<p>The . in a Gmail user is a NOOP.<p>I treat them all as unique
csteubs超过 6 年前
This is one of my favorite tricks for testing web apps. The only downside is getting your inbox blown up when the company runs an email blast, but it&#x27;s nothing a filter can&#x27;t catch.<p>I think these patterns are generally negative for most ecommerce companies (you&#x27;ve priced too low, you&#x27;re signing up tons of low-LTV customers at huge CPA, etc.) and good for SaaS companies that can solicit feedback or otherwise monetize their &quot;frequent triers&quot;.
btian超过 6 年前
In GSuite it&#x27;s also possible to redirect all unmatched addresses to some email address, e.g., invalid1@a.com, invalid2@a.com all go to valid@a.com<p>You should consider asking phone verification, or keep a credit card of file.
评论 #18190167 未加载
评论 #18198700 未加载
评论 #18191895 未加载
cimmanom超过 6 年前
There are email providers other than gmail. In many of these systems, the “+” character indicates a truly distinct email rather than an alias.
jpincheira超过 6 年前
Me too, I&#x27;d treat them as unique, even those some big companies aren&#x27;t, most do, so I&#x27;d just go with the flow.
paulcole超过 6 年前
Just don&#x27;t accept email addresses with a + in them.