Skip to content
Home Posts About us Privacy Policy
6 Myths About Anonymizing Scraped Data: Hashed Usernames, Coarse Locations and More

6 Myths About Anonymizing Scraped Data: Hashed Usernames, Coarse Locations and More

Share ๐• in f W

The common assumption is that a scraped dataset stops being personal data once the obvious identifiers are gone: strip the names, hash the usernames, and what remains can be stored, analyzed and shared without the obligations that apply to personal data. That assumption breaks because privacy law asks whether a person can be identified by any means reasonably likely to be used, not whether a name column exists. The six claims below are the ones that most often get a dataset labeled anonymous when it is not. Each is stated as people state it, then corrected in general terms, with the reminder that where the line falls for a specific dataset is a question for a lawyer or a data protection specialist, once, for the project as a whole.

"We rounded the timestamps and coarsened the locations, so nobody can be picked out"

Rounding a timestamp to the hour or replacing coordinates with a city name reduces precision, but it does not remove identity when other fields still point at a person. A profile URL, a username, an account identifier or an email address identifies someone on its own, however coarse the time and place columns are. Combinations of fields that are harmless alone, such as a city, an employer and a job title, can identify a person together, and these quasi-identifiers are the usual reason a dataset with blurred timestamps still points at individuals. Free text is the field that most often gets overlooked: a review that mentions the reviewer's street, a post that describes an unusual job, or a comment signed with a nickname identifies a person without any precise time or location at all. The useful test is to pick ten random records and ask, for each, whether someone with access to the public source could work out who the person is. If the answer is yes for any of them, the dataset is personal data, whatever was done to the time and place columns.

Coarsening still has a place. It is a recognized way to reduce the risk of re-identification from patterns of movement or activity, and it costs little in most analyses. The error is in treating it as the finishing step rather than one of several. A dataset that fails the ten-record test needs no further analysis; one that passes it still needs the harder questions below, in particular about hashed identifiers, combinations of fields and what other data the recipient of the dataset might hold.

"Hashing the usernames anonymizes the dataset"

Replacing a username with a one-way hash is pseudonymization, not anonymization. Anyone who can guess or list candidate usernames can hash them with the same function and match the results, and for public accounts the candidate list is the platform itself. The hashed dataset therefore remains personal data under the GDPR, which treats pseudonymized data as personal data explicitly, and the obligations stay. That does not make hashing pointless. Pseudonymization is a recognized safeguard: it reduces the harm if the data leaks, it supports the balancing test under legitimate interests, and it lets analysts work on records without seeing who they belong to. The error is in the label, not the technique. Call it pseudonymized, keep the key or the function under control, and keep treating the data as personal. The place of safeguards like this in the balancing test is covered in legitimate interests and web data collection.

"Aggregating the data makes it anonymous"

Aggregation can anonymize, and it is the route most likely to succeed, but counts and averages are not automatically safe. A table of average sentiment by city, employer and week may contain cells built from a single person, and a cell of one is that person's data with a different label. Two releases of the same aggregate, a week apart, can be subtracted to reveal the contribution of whoever joined or left the group in between. Suppose a hypothetical dataset of public posts about a sector summarized as the number of posts per company per day: for a company with one employee who posts publicly, the row is that employee's posting history. The working rules are a minimum group size below which cells are suppressed or merged, a check for cells that can be reconstructed by differencing related tables, and a review of whether any category is so narrow that it names someone by definition. Aggregation done with those rules is a defensible anonymization; aggregation without them is a relabeling.

"Quoting a post without the username is anonymous"

A verbatim quotation from a public post is a search query. Paste the sentence into the platform's search or a general search engine and the original post, with its author, usually comes up. Removing the username from a quoted post therefore removes nothing for anyone willing to spend a minute, and it is the most common way research reports and dashboards re-identify the people they meant to protect. The alternatives are to paraphrase so that the text no longer matches the original, to report themes and counts instead of quotations, or, where quotation is needed, to obtain the author's agreement. The same reasoning applies to distinctive images, to exact timestamps paired with a known account's activity, and to any field that can be fed back into the source to find the record. Options for releasing social media data that take this into account are compared in sharing social media datasets.

"Pseudonymized data falls outside privacy law"

Under the GDPR, pseudonymized data generally remains personal data for whoever holds, or can reasonably obtain, the additional information that would reverse it, and the law names pseudonymization as a security and data-minimization measure rather than as an exit; whether the same dataset counts as personal data in a recipient's hands is assessed from that recipient's position, which is a question for counsel rather than a label. Under the CCPA, the term is deidentified, and data qualifies only when the business has taken technical measures against re-identification, has publicly committed not to re-identify, and binds recipients contractually to the same; a dataset that was merely stripped of names meets none of those conditions by accident. Other jurisdictions draw the line in their own places. What generally holds everywhere is that the question is decided by what is reasonably possible with the data and the resources around it, not by what you intend to do with it. Treat pseudonymized data as personal data, document the measures taken, and let counsel decide whether the deidentified or anonymous standard of a particular law has actually been met.

"Once anonymized, we can keep it and share it without limit"

Anonymization is a judgment about identifiability at a point in time, with the data and the other sources that exist at that time. New public datasets, new platform features and new matching techniques can turn an anonymous dataset into an identifiable one later, which is why a dataset released as anonymous years ago can become a problem without anyone touching it. Two consequences follow. First, the process of anonymizing scraped personal data is itself processing of personal data and needs a lawful basis and, for large or sensitive datasets, may belong in the risk assessment described in what a DPIA is and when a web data project needs one. Second, an anonymized dataset still deserves a record of how it was anonymized, what group sizes and suppression rules were applied, and a periodic check that the judgment still holds, particularly before any new release. Keep raw personal data only as long as the stated purpose needs it, and keep the anonymized derivative under a retention rule of its own rather than forever by default. Where a provider such as ScrapingIsNotACrime supplies the raw collection, the anonymization decisions remain the controller's and should be written down as such.

Share ๐• in f โœˆ