Live data from Hacker News

Instead of deleting account, NYT appends ‘1000’ to username and email address

twitter.com

121–130 of 167 posts

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#121

Earlier quoted context omitted.

That and why not allow null for the foreign key constraint and set it to nullify upon deletion? Or indeed, anonymise data.

I have used that pattern in my apps and found it works well. But then I've watched video from respected DB experts, that I learn a great deal from, where they practically beg you to stop using nullable columns. So I'm torn, because I think there may just be a major problem I've not yet grown my apps big enough to suffer. Anyone have thoughts either way?

Any particular videos you'd recommend?

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#122
post #34

NYT is notoriously the worst at customer service and account handling. I tried to get a previous invoice from them previously and after 1 week of calling customer support and being passed around, I still wasn't able to get it.

I had this chat with their customer service department asking to "cancel" my account so that I don't incur any charges and they insisted that it wasn't possible without losing immediate access and getting a pro-rated refund. I thought that was stupid, but ok... 1 month later, still no refund. Account is still scheduled to be auto-renewed, talk to CS and they're basically ignoring me at this point (I'm using text mess…

My credit card number changed and they sent my account to collections with no notice. The lesson I learned was never to subscribe to something on the company's own website; go through Apple.

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#123
post #114

Earlier quoted context omitted.

Yes and no. PII needs to be removed. The rest of the data needs to be anonymized. Right?

But an email is PII so clearly this would breach GDPR.

Keep a hash instead of the original email address?

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#124
post #16

Earlier quoted context omitted.

The email address doesn’t really need to be valid though. I have an old client that appended ‘|disabled’ after the email address (and torched the password) when “deleting” accounts because they needed them in the DB for audit logging. Unless someone figures out how to register a domain ending in ‘.com|disabled’ I’m not sure how someone would be able to access those accounts.

Every week we see multiple articles about security researchers who abuses some part of the tech stack to do something weird that shows the danger in this sort of thinking. I believe it's easy to spoof emails from the .com|disabled domain. Receiving messages, I agree, seems harder. Maybe spoof an unencrypted DNS response at the right moment? No need to actually register a domain when DNS is spoofable.[1] If you really…

In-band signalling has always been error-prone. It's never worked and it never will.

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#125
post #90
post #64

Doing real deletes on user accounts is a surprisingly challenging problem and I'd be willing to bet very few companies do real deletes where all of your data is wiped permanently from the company. For legal and financial reasons, companies often need to keep track of historical user activity. If a company states in their investor quarterly report that they had 1M active users, they better be able to prove it in an au…

And something I had to learn the hard way and then teach quite a few people is that hard deletes don’t just turn your tables into Swiss cheese, they also can cause table scans. When you delete a row, every inbound foreign key constraint has to be checked to look for any rows that refer to the deleted row, and most likely you didn’t set up an index for the foreign key, so now you have a table scan. Possibly several. I…

It's been standard practice at all the companies I've worked at to index all foreign key fields, no matter what they're used for, I've yet to run into a situation where it's been more harmful than helpful, but these companies all had <10TB data in SQL so idk if it's good general advice.

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#126
A lot of companies do this. My buddy found out that he had two EA accounts, so he asked nicely for them to merge them into one and they "did". Well what they actually did was grant the games to the new account and "delete" the old account.

Of course "delete" meant rename it from username@custom.tld to usernameDELETED@custom.tld. He owns the entire domain (and has catchall) so he got the notification of the changed email to the new email address.

Now he has two EA accounts with all the games on both!

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#127

Netflix does that too. You can’t delete your account so they just append a string like “csr_morgan” in the domain so that your account is “deleted” (you can’t login anymore, because your email address technically doesn’t have an account anymore) and you can re-register with your email later if you wish. But I’d you use the altered email and the same password, everything is still there. Pretty sure this goes against G…

What happens when you re-register with the same email address and then later cancel again?

WP:BEANS

https://en.wikipedia.org/w/index.php?title=Wikipedia:BEANS

Uh-huh

https://en.wikipedia.org/w/index.php?title=Wikipedia:BEANS/U...

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#128

A lot of companies do this. My buddy found out that he had two EA accounts, so he asked nicely for them to merge them into one and they "did". Well what they actually did was grant the games to the new account and "delete" the old account. Of course "delete" meant rename it from username@custom.tld to usernameDELETED@custom.tld. He owns the entire domain (and has catchall) so he got the notification of the changed em…

> Now he has two EA accounts with all the games on both!

oh what a great service

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#129

Earlier quoted context omitted.

From the twitter comments: https://twitter.com/bicycult/status/1255122953798328320 They were still logged in and refreshed the page; they found out by going to their user settings.

I noticed a similar thing being done for Bird scooters a while back. I forget the suffix but they did the same and I noticed because I was still authed on my phone after requesting deletion. My token has expired since then though so for all I know they have fully deleted the account since.

Having known people who worked at Bird, I doubt it. They had a real culture of “hack it up and then move on”, going back and fixing stuff like that isn’t in their culture.

Re: Instead of deleting account, NYT appends ‘1000’ to username and email address

#130
post #98
post #95

Earlier quoted context omitted.

You can always hard delete all the data _and_ keep track of deleted users so that their usernames can't be reused. Once you have hard delete, this solution is almost trivial and by far the most user-valuable.

> keep track of deleted users so that their usernames can't be reused This seems to violate GPDR, no? Attacker attempts to create an account (say: victim@gmail.com) on AshleyMadison and is prevented because the server tracked past users. Attacker could them demonstrate victim@gmail.com was at one point a user on AshleyMadison.com

the real GDPR problem is if the user has asked to delete data and you do this soft delete but keep all their old data as well, and then someone hacks your system and gets that data.

You're obligated by GDPR to disclose to affected parties that their data has been compromised, but you were also obligated to delete the data by GDPR.

Post reply on HN