115 points · by fanf2 · 8y ago · 134 comments
And there's the whole question of what counts as identifying information. My understanding is that IP addresses do — so an immutable plaintext server log is now illegal.
Privacy is really, really important. But expanding the definition of privacy too far is just too much.
The GDPR allows for reasonable usecases like this. The principles are pretty broad and only stifling once you get into the realm of sharing data between organisations [0]
Such uses are "Appropriate", but you would be expected to maintain this information securely and you would not be allowed to use it for some other surreptitious purpose?
This actually enables further innovations for instance you can log a cars behaviour without a user fearing you might sell this information on to their insurance company.
What upsets people about GDPR is it does away with the notion of data being the holders property and enforces obligations to the subjects of that data.
Of course in this day and age where "data is the new oil" this is upsetting for some.
At the end of the day however this demonstrates how regulation, apart from propping up inneficiet markets also serves to protect the public from rampant commercialisation of every aspect of their lives!
[0] https://united-kingdom.taylorwessing.com/globaldatahub/artic...
The GDPR is rather ambiguous about use cases like this. That's part of the problem. Different national regulators are going to have to decide what they consider reasonable and how much they want to enforce. Unless and until they issue authoritative guidance, everyone is basically in the dark on what this really means, and the penalties for misjudgement could be severe if the regulator strongly disagreed with your interpretation.
As for sharing data between organisations, one of the more unwise (IMHO) aspects of the GDPR is that when it comes to the right to erasure, the obligations to notify other parties to which the data has been supplied have guard conditions about reasonable efforts, but there are no such conditions at all on the immediate obligations to delete the data. If you're not covered by one of the acceptable cases (where the scope is, as noted above, not entirely clear yet) then you must be able to delete the data on demand, regardless of the practicality or cost of doing so.
It allows for simple logs. It does not allow for simple immutable logs, because your customers must always be able to force you to forget about them. There's nothing about sharing data between organisations: the GDPR requires — with certain very minor exceptions — that someone holding personally-identifying information delete it on request.
As an aside, this:
> This actually enables further innovations for instance you can log a cars behaviour without a user fearing you might sell this information on to their insurance company.
… isn't really true: the logger can still sell it, it just may not.
When user asks to be forgotten, simply overwrite all the identifying information with generated data. Backups work the same way, but depending on where and how those are stored it could get expensive.
We're seperating personally indentifying information out of our normal backups (held warm -> cold over time), and keeping PII backups offsite as warm data, so we can delete/ammend relatively pain-free.
Yes. GDPR compliance will cost money and I'm not trivialising that. The degree of panic it's causing baffles me though. Sure, it requires design up front. Oh woe. But regulatory compliance always does. Ref. previous rending of hair and gnashing of teeth in the run-ups to Glass–Steagall, HIPAA, Sarbanes–Oxley, and so on.
I think it's a combination of two things. On the one hand, people are justifiably worried whether or not their design and implementation of necessary changes will be fully correct. The cost of getting that wrong will be huge, and laws are generally not known for being clean and unambiguous. On the other hand, you also have people panicking because their user-hostile practices are no longer legal, and so they'll lose money.
And it's a sad state of affairs.
~12 years ago, in 2005, Kim Cameron first published his 7 laws of identity[1]. Follow those and you'll ace GDPR. Instead we've been directing the sharpest, brightest and smartest minds on the planet at squeezing revenue from advertising, consequences be damned.
[1] https://www.identityblog.com/stories/2005/05/13/TheLawsOfIde...
You just made the log no longer simple. Now writing a log line isn't a matter of writing bytes to disk; it's a matter of looking up PII in one table, reading a key, then writing the key and the non-PII to disk. If the definition of PII gets more expansive … whoops.
> The degree of panic it's causing baffles me though. Sure, it requires design up front. Oh woe. But regulatory compliance always does.
You answered your question. The compliance costs, and it's for what is IMHO a non-right. I do not, and no-one has, a right to demand that my IP activity be erased. I do not, and no-one has, a right to change history.
Much of the rest of the GDPR is wonderful stuff, but the so-called 'right to be forgotten' is Orwellian.
But that's just my interpretation.
Can anyone, with citation, please shed some light on this. What's fair use, in broad terms, when it comes to simple HTTP logs or similar structures?
That’s generally not identifying a single person anymore, and usually good enough for anything else.
I don't really know about relational data, where a true "delete" would destroy someone's database. Somebody told me that, if hard deletions aren't technically feasible, then soft-deleting (or marking as archived or whatever) is acceptable. Not too sure I believe them though -- simply replacing the sensitive data with garbage and keeping the relations seems like a better idea.
Just also remember to record that you shouldn’t restore that persons data to the pre-forgotten state.
The European courts haven’t weighed in, but they’re not unreasonable, and the UK has given specific guidance:
https://ico.org.uk/media/for-organisations/documents/1475/de...
Even if your business does have the understanding and technical ability to do it, it adds a whole extra layer of complexity and unreliability to what used to be simple, plain text logs -- exactly the kind of information you probably need to access quickly and reliably if you're in the middle of fixing a major fault, for example.
Most businesses with personal data also have invoices. Since you don’t have to destroy those, simply note their request there.
Other kinds of personal data like marketing leads and medical data should be much easier to see how to forget.
Translucent Databases covers this.
TL;DR: Various clever ways to encrypt records, organized for fast & easy retrieval, uncoverable if the key is lost (or deleted).
Also: We should always encrypt all (demographic) data at rest.
IIRC zeroing the last one or two groups of IPv4 and the /56 or /48 of the IPv6 address block should be fine.
Alternatively you can use a short hash function (xxhash32 cut to 16bits for IPv4 or pure xxhash64) to effectively destroy most of the data but still get a good pseudo-identifier.
If you can identify someone then it probably is. That’s for example if you have a web form with their details filled in— just make sure they know you’re keeping their IPv6 address for the avoidance of doubt.
If you can give it to someone like their ISP, and they can identify someone for you, then it might be: especially if you have a relationship with that ISP where you do that.
If not, then probably not.
For example nobody has been able to give me a clear definition of what counts as identifying information. I have heard IP addresses count, so what about our cloudfront logs? They have the client ip address. If i pipe them straight to a logging SaaS, is it on the logging service to handle it? Or is it on me?
Furthermore for the right to be forgotten, how do i handle that with backups that are not under our control? E.g. AWS RDS backups? Amazon says there is no way to modify those backups, and our TAM has suggested managing our backups our selves.
What about data that our customers pipe to our service, how is that handled by the GDPR, it is all encrypted. But apparently we need to handle cases, but we don't have the decryption keys. Is it on the customer who uses our SaaS or is it on us? How do these scenarios work?
While i feel more and more we are ready for the GDPR at the same time i am terrified. I feel many of the laws can be interpreted far too many different ways which makes me uncomfortable.
IP addresses may be personal data if you have a database containing personal data (like a web form) and the IP address. Don’t have that database, or only make it accessible to your firm and processors to verify data integrity/protect against fraud: no problem. Dropping the IP column from that table after a month is probably easy enough and good enough.
The GDPR also doesn’t mandate encryption. It says you’re responsible if you get hacked and could’ve prevented it. Applying an IT security standard (eg ISO) is just one (probably easily) defensible way to do it. Not getting hacked is another.
Your consultants should fully understand your business and data flows: individual things taken in isolation are a “grey area” but looked through the lens of your whole company, actions and intent, versus value to the subject themselves (instead of just your customers) is what the European courts will do if they decide to give your company attention; they will not nit.
That’s not gray at all. That’s very clear cut. The SaaS acts as a data processor if it gets IP adresses or other PII.
> Furthermore for the right to be forgotten, how do i handle that with backups that are not under our control?
You need to ensure PII in your database is encrypted already with a per customer key and have these keys be backed up separately where the retention is low.
The ICO has said that if you have a breech that encryption would protect against them that could be a violation: https://ico.org.uk/for-organisations/guide-to-data-protectio...
The solution is to anonymize the last ip adresses octet. You can (within some boundaries) work with the full ip address.
In your case technically you would be violationg these rules because you are saving person identifiable information without your customer aknowledging this before. And you even transmit these information to other services. The joke is, this is how the internet works and this rule is practically not enforcable for everyone (we solved it for our solution). The least you could do to be a little bit compliant is to state in your rules that you are logging the customer‘s ip address and tell them every service you transmit this information to for transparency reasons.
For the backup case with AWS RDS it‘s again not practical. The law has not been made by texhnicans. The simple answer is everyone is violating the law. In my opinion it will take 2-3 years and all these very openly stated rules will be clarified and in the end will be more logical. Until this day you could store an information which information should be deleted in another database and if AWS needs to restore your main database you use the seconds database information to delete the information again. You can then state its technically not feasible to delete some information from backups that you did your best. But then you should not store backups for 10 years, they should have much smaller timespans.
In the USA, this would be an opportunity for entryism by opportunistic outside consultants who would propose all manner of insane policies, and hang the threat of noncompliance over management's head like a Sword of Damocles if they are not followed. See Sarbanes-Oxley compliance for a relevant comparison and note that SOX is probably one reason why we've seen a precipitous drop in IPO rate in recent decades.
But the US regulatory infrastructure is, compared to civilized countries, from fucking Mars, so I have no idea if it will hold for GDPR.
If you're responsible for one of those small organisations, your choices are typically to try to stay on the right side of the law but in doing so accept disproportionate overheads for something that probably won't ever matter, or not to try, not to incur the overheads, and to hope that you don't get caught and penalised, which realistically you probably won't unless something happens that is so catastrophic that your organisation has already ceased to exist anyway.
As far as smaller businesses are concerned, these kinds of rules hand a big competitive advantage to those who don't make a good faith attempt to follow them, at the expense of those who try to do the right thing legally speaking. As someone who is generally a strong believer in doing the right thing in business, and in fair consumer protections and strong privacy rights from a personal point of view, I find this outcome infuriating.
Read at its bluntest, as I understand it this law seems to basically ban backups, at least those retained for any significant amount of time. Have a customer/patient database on a cycle of daily/weekly/monthly backups that get pruned as they get older? You need to be able to purge any individual who requests it from those backups. Have regulatory or contractual requirements on keeping records? Well, that's what the courts are for, hope you like the attorneys you're going to be paying. Heck, for medical practices I've heard of insurance companies doing clawbacks of payments years after the date of service - what does a practice do if it serves a European with temporary insurance, gets a request to purge that person's data, then gets a request for clarification from an insurance company?
Perhaps this is a complete non-issue for US companies, but I'm not so certain of that that I'd be willing to just dismiss it out of hand and if it's not dismissed then parts of it are pretty scary.
The GDPR doesn’t ban backups. You must inform the subject of how long you keep those backups though. If payment processing stays open for years, then years is fine. I have a customer who keeps data for ten years.
The GDPR doesn’t say that a European can claim “right to be forgotten” and force you to destroy invoices proving you did Work for hire.
If for some reason they want you to stop processing (right to object) then they end up owing the money themselves- since they can’t force you to forget the invoice, having you unable to send their invoice to insurance sounds like a bad move on their part.
Reading the GDPR “at its bluntest” is not the correct way to do things: European courts are not amused by a narrow view of the law when it is used to argue something is technically legal, not do they use their maximum force for minor infraction.
That’s why you don’t need to worry about an “enterprising” European taking you to the cleaners because the courts won’t think it’s funny either.
It also means that if you know what personal data you have, what you do with it, disclose to the subject those things including who specifically you share it with, and protect that personal data like your business depends on it, then you’ll be fine because the point of the GDPR is that this is what you should be doing.
And if you use a deduplicating backup system -- and you may have few viable alternatives at small scale -- the answer to that latter part will be "indefinitely". So yes, the GDPR does effectively ban backups, at least in this sort of scenario.
Reading the GDPR “at its bluntest” is not the correct way to do things
And yet there is nothing else you can reasonably do in the absence of more specific, enduring and legally binding guidance from your national regulator, and even that guidance is at risk of being overturned in court at European level.
It also means that if you know what personal data you have, what you do with it, disclose to the subject those things including who specifically you share it with, and protect that personal data like your business depends on it, then you’ll be fine because the point of the GDPR is that this is what you should be doing.
Nope, because the right to erasure is not negated because of those sorts of common sense, only specific criteria listed explicitly in the GDPR. And as things stand right now, that right to erasure immediately runs into all the issues of uncertainty raised by many in this discussion and other forums.
If the blocks are deduplicated because the reference count of the bit map remains greater than one then I don't see the problem: Just because John Smith can ask you to delete him from your database doesn't mean he can ask you to delete all John Smiths.
Also: European courts aren't amused by this kind of nonsense.
> And yet there is nothing else you can reasonably do in the absence of more specific, enduring and legally binding guidance from your national regulator, and even that guidance is at risk of being overturned in court at European level.
Sure you can. You can look to the historical application of various other similar laws and get an idea of what the regulators are likely to do.
For what it's worth: European courts cannot be legally bound to do anything. If they think you're being an asshole but are "technically within the law" they'll still fine you.
That's just how it works here: Hurting people is simply not ok.
> Nope, because the right to erasure is not negated because of those sorts of common sense
It's not "common sense" at all: Being afraid of the government and the police isn't something civilised countries have to deal with.
Why would anyone think that the government is trying to hurt people if everyone agrees hurting people is not okay?
Theoretical case: 5-doctor pediatric practice running an on-site EMR. Backups include fairly short-duration full images for ease and speed of disaster recovery, plus longer-term file and database backups such that basically no scanned document or received fax will ever be lost from the backups and end-of-month database backups will be retained indefinitely. Beyond a year or two it will be possible for incremental changes to be lost if multiple changes happen within a single month.
The practice is required by US law to retain some of that data for years (7, 10, until age 18, 7 years after 18, whatever) or indefinitely (e.g. vaccination records) even if/when the patient leaves the practice. With paper charts that meant that inactive charts went into long-term storage, then eventually were shredded after the expiration of that time period. I'm not sure how vaccination records were kept, but I suspect there were either copies both in the chart and in a separate vaccination-only list or that they were pulled from the charts either before storage or before shredding. There were no backups.
With EMRs, there's no good way to pull a single "chart" out of those backups. There are also not separate systems for tracking things depending on how long they have to be retained. In the case of a pediatrician's office then the answer to "how long do you keep the records" is "until the practice closes, and at that point they must be passed along to another practice."
As for the case of destroying invoices, it's not that simple. The "invoice" would be the bill sent to the insurance company or patient including diagnostic and procedure codes, but the insurance companies may come back even years later for "chart review" on charges they've paid and in that case they're not looking for the codes they're looking for the supporting documentation in the patient chart.
Finally, regarding "enterprising" attorneys wasn't there a whole situation some years back where third party attorneys in Germany were going after alleged copyright infringers "on behalf of" companies that had never heard of them? My Google-fu failed me on this, but I didn't spend a huge amount of time looking. Is there a comparable risk here? I'm not worried about someone actually getting hit with a 10 million Euro fine, I'm more worried about that annoyance-factor "Remove my client's data from the data that you are required by law to keep, come to Europe to defend your failure to do so, or pay my client to abandon this action."
FYI: In Europe, if someone sues you and loses, you can usually recover your costs.
> Theoretical case: 5-doctor pediatric practice running an on-site EMR. Backups include fairly short-duration full images for ease and speed of disaster recovery, plus longer-term file and database backups such that basically no scanned document or received fax will ever be lost from the backups and end-of-month database backups will be retained indefinitely. Beyond a year or two it will be possible for incremental changes to be lost if multiple changes happen within a single month.
There's no need to worry about this. Simply record a list of who wants to be forgotten and consult it when restoring from backup.
> The practice is required by US law to retain some of that data for years (7, 10, until age 18, 7 years after 18, whatever) or indefinitely (e.g. vaccination records) even if/when the patient leaves the practice.
Explain to the europeans that visit your on-site EMR that you are required by law to keep data in the way you just explained it.
> With EMRs, there's no good way to pull a single "chart" out of those backups. There are also not separate systems for tracking things depending on how long they have to be retained. In the case of a pediatrician's office then the answer to "how long do you keep the records" is "until the practice closes, and at that point they must be passed along to another practice."
That's perfectly fine.
Make it a process to contact the Europeans every ten years to make sure they haven't moved to another practice. If you can't reach them, then discard what you're legally permitted to discard. Publish this policy.
> As for the case of destroying invoices, it's not that simple. The "invoice" would be the bill sent to the insurance company or patient including diagnostic and procedure codes, but the insurance companies may come back even years later for "chart review" on charges they've paid and in that case they're not looking for the codes they're looking for the supporting documentation in the patient chart.
You're not required to destroy invoices under the GDPR.
> Finally, regarding "enterprising" attorneys wasn't there a whole situation some years back where third party attorneys in Germany were going after alleged copyright infringers "on behalf of" companies that had never heard of them? My Google-fu failed me on this, but I didn't spend a huge amount of time looking. Is there a comparable risk here? I'm not worried about someone actually getting hit with a 10 million Euro fine, I'm more worried about that annoyance-factor "Remove my client's data from the data that you are required by law to keep, come to Europe to defend your failure to do so, or pay my client to abandon this action."
You would ignore such a claim.
In a legitimate claim, the person would complain to the regulators and the regulator would decide what action to take.
I suspect strongly the courts will use their energy to go after the biggest most flagrant violators of European law first: the equifaxes, facebooks, googles, and so on.
The fines are there for those companies who continue to have a flagrant disregard for IT security practices, or who try to make personal data their business by trying to trick the subject instead of offering real value in trade.
If you’re not trying to play legal chicken with privacy law, you know what personal data you have and protect it like your business depends on it, then you’re probably going to be fine.
And unless you’re a lawyer or familiar with how European courts do things, I think a more plain language guide is better: https://ico.org.uk/for-organisations/guide-to-data-protectio...
It's the small companies who literally can't afford the staff to properly implement the GDPR. It looks like it's turning into a regulatory barrier that protects the big guys and scares the small guys away.
There is nothing in the GDPR that says: "if your a small < 5 person corp not in europe that isn't a subsidary of another corporation, then the GDPR does not apply (ie: Joe's blog, Sue's landscaping)". Or "If your revenues & employee counts are within this band, then the maximum fine can only be applied on a percentage basis and not millions.". IF these regulators really didn't want to scare away the small guys, they would of put that into the law.
"Don't worry, the european courts are nice people" is not a strong enough guarantee for most people and corporations.
https://ico.org.uk/for-organisations/business/
> “Don't worry, the european courts are nice people" is not a strong enough guarantee for most people and corporations.
The GDPR is already law and people, and corporations are still here.
That’s how courts work in Europe. They can fine you for hurting consumers or putting them at risk even if the specific actions you’re taking aren’t necessarily coded and specified.
As an American living here I understand how strange that can seem, but the advantage is that companies getting prepared for the GDPR are treating the personal data they keep as a liability instead of treating it as an asset.
This kind of subjective enforcement annoys me. In the meantime, in my risk assessment I have to weigh the largest possible risk. It is quite strange how often many EU laws are defended because of enforcement and not the letter of the law.
If they are only going after the most flagrant, codify it. If they are not going to put SMB's out of business with a maximum fine, codify it. This article is a "trust us" which I abhor in lieu of more specific punishment rules. The rest of us running SMBs and not needing more customers in the EU are just not going to gamble with what side of the bed the punishers wake up on.
https://ico.org.uk/for-organisations/business/
> codify it
It is very difficult in my experience to make lawmakers and lawyers experts in digital marketing, telesales, medical processing, machine learning, banking and anti-money laundering and so on, so a lot of our regulation is just “do your best” and “don’t be a dick” anyway. This works remarkably well- CEOs of billion dollar companies are asking if their IT/IS systems are actually secure which is a massive improvement over what I used to see: “are we compliant”
Well Equifax was probably compliant.
I much prefer companies seek more than sheer profit, and to have restraint when it comes to putting peoples lives and livelihoods at risk.
> (we) are just not going to gamble with what side of the bed the punishers wake up on.
With all due respect, unless you go to war (which has different risks), or you ask everyone if they’re European when they reach your website (ie before you’ve given them a cookie or logged their data in your access logs; or telephone and so on) you’re going to have to. The GDPR is already law.
The good news is that European law is rather fair, and if you’re not dealing with personal data as a product you probably aren’t going to be affected at all.
If this is something that a motivated executive can apply unilaterally, it's bad.
If this is something that can only be applied after a judicial system rules on compliance and gives you the opportunity to fix the issue, then it's probably okay.
The sort of unintuitive machinations it takes to maintain honest compliance while providing useful services is kind of mind-blowing. Every bit of it that I've delt with has left me depressed about what this will do to small companies and innovation. Facebook will have no trouble at all being GDPR compliant, but your average 50-person startup or small-town business hasn't got a chance.
I don’t think the GDPR is as difficult as you suggest. The biggest problem companies seem to struggle with is this idea that the personal data they keep isn’t theirs and they need to protect it like anything else in their possession that isn’t theirs.
Then, there’s also the issue that Americans aren’t used to the idea that a European court might think they’re in their jurisdiction, and they don’t know how to interact with a European court. Treating them as adversaries (as is often done in the USA) doesn’t go well. The courts basically decide if you fucked up and did harm that you could’ve prevented, and not if you were technically against the law.
Are you treating someone’s personal data the way they would want you to?
Really?
If so then you’re probably better than 90% of the way there.
You keep writing things like this, and I'm not going to just post the same reply every time, so let's try another one here.
Let us assume for the sake of debate that Privacy Shield will at some point be struck down by the courts, like Safe Harbor before it, since the fundamental objections involving US government access have not changed.
At that point, please explain the conditions under which an EU business can share PII with a US business without violating the GDPR.
1) if the EU has declared a country "adequate", you can transfer data (there is a list of adequate countries. Canada is on it, the US with Privacy Shield too)
2) in absence of an adequacy decision, there are other possibilities: binding corporate rules (internal rules for data transfers within multinational companies[1]), contractual arrangements (for example, the EU approved clauses), adherence to a code of conduct with a binding commitment (look at this like some kind of "privacy certification")
3) Finally, if the above are not possible, a transfer is still possible if the subject gives consent after being informed of all risks.
So, for the sake of debate: I would go with either binding corporate rules (in case of a multinational) or contractual arrangements.
[1] https://ec.europa.eu/info/law/law-topic/data-protection/data...
Being compliant is about not abusing personal data. I think small companies will find that much easier to do than bigcorps whose business model is based on privacy invasion, like facebook or google.
Presumably, the workers at this institution do not get paid for how high the fines are that they can push through. Nor does their office get paved with gold floors. So, they have no incentive to swing the biggest stick they have. There's no concrete reason to distrust them here.
Really, part of their job description for which they do get paid, is probably that they should not fine companies inadequately. If companies leave the country or even just do less business there, that's probably more damaging to the country than recieving that one-time 4% of turnover.
It would be interesting what companies do about it. Will any of them pull out of the EU market. Or maybe make users sign away their rights on their next login "If you use this service, you give us permission to use your data in this and that way which may or may not be GDPR compliant, if you refuse we'll delete your profile and you'll have to find an another service to solve your problem".
As a consumer, I like what GDPR is doing. As a developer having to implement compliance for it, it is a huge pain.
The GDPR explicitly disallows this. You're not allowed to make access to your service conditional on consent because it's considered to be "not true consent".
[Example 1]
A mobile app for photo editing asks its users to have their GPS localisation activated for the use of its services.
The app also tells its users it will use the collected data for behavioural advertising purposes. Neither geo-localisation or online behavioural advertising are necessary for the provision of the photo editing service and go beyond the delivery of the core service provided. Since users cannot use the app without consenting to these purposes, the consent cannot be considered as being freely given.
[Example 6]
A bank asks customers for consent to use their payment details for marketing purposes. This processing activity is not necessary for the performance of the contract with the customer and the delivery of ordinary bank account services. If the customer’s refusal to consent to this processing purpose would lead to the denial of banking services, closure of the bank account, or an increase of the fee, consent cannot be freely given or revoked.
[1] http://ec.europa.eu/newsroom/just/document.cfm?doc_id=48849
Marketing is cancer on society, and it infected everything deeply. I welcome anything that changes the incentives so that it's less rather than more profitable to try and suck in every piece of data you can get your hands on.
The exact law text is in article 7, section 4. https://gdpr-info.eu/art-7-gdpr/
Does anyone here have github repo to such a solution?
Alternatively, you could simply set up a cloud share they can upload files to, e.g. a Seafile instance, and have them link it in the email.
If you want to go fancy, you can build your own HTTPS protected upload form.
Or you can use OpenPGP / GPG / PGP for your emails.
This isn’t exactly rocket science.