Privacy by design is making a comeback, this time with a data protection by design flavor. Fresh support in regulatory documents with increasing interest from civil society, public institutions and everyday people has propelled the concept to the center of attention. What will it take for it to work?
Specifically of interest to computer scientists is what it will take to make privacy by design an integral part of software and hardware development practice. Building on social and legal conceptions of privacy (Nissenbaum [1], Solove [2], GDPR [3]), privacy researchers in computer science produced a rich array of privacy solutions attending to a wide palette of privacy problems. These can provide the foundations for privacy by design. The question is, if privacy by design is to become part of development practice, will it be through a simple hand-off of privacy designs from computer scientists to developer teams, or is there more work that needs to be done before privacy research can come to fruition? In other words, what can computer science offer to the burgeoning practice of privacy engineering?
Did you say privacy engineering?
Yes! Privacy-by-design describes an ideal onto which many computer scientists (and others) have been projecting their designs. This is great, but bringing those designs to life requires closing the gap between theory and practice. This is where privacy engineering as a field of active research comes in: it is concerned with developing methods, techniques and tools that make it possible to integrate the proposed designs into deployed systems.
So, it is not computer science but engineering, why would this be a matter of research?
That question is a throwback to the 90s when the discussions on whether computer science itself was science or engineering reached a high point. Back then, David Lorge Parnas wrote that ‘as an area of science becomes more mature, educational institutions develop an engineering program that is based on that science’. The time to do the same for the field of privacy research seems to have come, but it is about more than that classical distinction.
Beyond privacy engineering being a byproduct of the scientific field, we observe a back and forth between privacy research and engineering. Parnas argued science is about extending our knowledge of a field, whereas engineering is about applying that knowledge. Typically, science extends our knowledge and engineering then uses that knowledge to build real-world applications. Authors in computer science as recently as this year’s Oakland conference make the same narrow argument [4]. We posit that the process of applying science to real-world problems can surface issues that were not noted or addressed in the theoretical research.
For example, we might discover that some of the assumptions that were made by the scientists are not actually feasible or have weaknesses. Consider the case of a scientific paper describing a cryptographic protocol bundled with an elegant security proof. When implementing it, one might realize that the authors of the protocol have too optimistically assumed that there is a reasonable way to exchange keys securely in a given context. Identification of this gap may in return trigger new scientific research into key exchange. Similarly, the famous k-anonymity paper by Latanya Sweeney and Pierangela Samarati shows that when applied, straightforward de-identification techniques may not always fulfill their privacy claims. A whole set of papers followed that showed the limitations of the different proposals for database anonymization. Thus, engineering, as an applied science, may employ scientific and engineering methods, lead to new research questions or inspire rethinking of paradigmatic assumptions underlying scientific research, paving the way to breakthroughs, like in the case of differential privacy.
Hence, although we use the term engineering, one should not make the mistake of thinking that it is limited to activities like developing products or implementing designs. Privacy engineering, as a field of applied research, is also an important part of the cycle of scientific activities that include observing, formulating and evaluating (Glass 95) phenomena. For example, it includes the development of instrumentation techniques that enable observations of privacy violations or testing of privacy protection mechanisms as in the case of studying website fingerprinting to profile Tor users. Such instrumentation is part and parcel of the scientific research on privacy.
Yet there is some contrast to typical privacy research. Privacy engineering is not limited to the what-question, but also focuses on the how-question. Computer scientists develop designs to systematically capture and address privacy issues in socio-technical systems. Privacy engineering scholars then, for example, can ask: How do we best design, implement, adapt, and evaluate these designs in deployed systems? In order to answer these questions they propose methods, techniques and tools that will help do the job.
Is that different from software engineering?
The field’s relationship to software engineering is comparable to security engineering. Privacy is a social and legal concept, it is deliberately vague, contextual and subjective. This means that any privacy design needs to be evaluated against a socially or legally defined status quo. This is easier said than done. Such an evaluation requires developing methods to identify whether users are convinced that a given design enables the protection of their privacy, which is different from whether the system technically provides certain desired protective properties, which is yet again different from whether experts (are able to) confirm that a design is legally compliant (or fulfilling its protective goals). In that sense, privacy is a peculiar kind of non-functional requirement that needs its own set of paradigmatic assumptions and techniques. The different dimensions require interdisciplinary collaboration from related fields, but also the development of novel software engineering techniques appropriate for privacy like privacy preserving network measurement.
Since the introduction of the web, software engineering has also undergone massive transformations. The predominant model of “shrink wrap software”, binaries that are released every year or two, transported on diskettes and that run on user devices, are replaced by services and the cloud. For example, the transition from emacs or Microsoft Word to etherpads, Office365 or GoogleDocs seems trivial. However, the difference is remarkable: with the code remaining under the fingertips of developers, and the “production” and “use” phases of software collapsed, data and behavior centric development is becoming the norm. At face value, this may look like a privacy disaster, but this new architecture can also provide new opportunities for innovative privacy designs.
It sounds like you will not have novel scientific contributions?
It depends on what you consider a contribution. Some papers may propose and evaluate novel techniques or tools. Others, may respond to existing privacy research papers that may not provide enough generality or a realistic discussion of a problem. The proposed methodologies in such papers may address the problem in some range of possible settings, and only consider a very limited subset or even a single snapshot of the problem. In some other cases, these papers may fall short of describing all the practical details of the application scenarios, e.g. strengths and limitations of the proposed techniques.
Privacy engineering may help fill this gap. Papers may focus on giving a more detailed, context-aware view of the problem, taking into account all the practicalities that may influence the feasibility of the proposed privacy solutions.
For example, fuzzy extractors can be used to derive cryptographic keys from fuzzy data, such as biometric data, enabling designs that protect the underlying biometric data. However, these constructions do not tackle linkability, another important privacy property. Papers that challenge or confront a proposed methodology in real-world scenarios, that analyze feasibility and practicalities of such methodologies are also likely to be part of the field’s repertoire.
Homomorphic encryption, for instance, is a set of techniques that allow computations in the encrypted domain, without disclosing the plaintext, thus protecting the data also while it is being processed. However, there is substantial work which demonstrates that some types of homomorphic operations are still unpractical due to engineering issues. These results may not be “novel” but they certainly contribute to rethinking research questions and underlying assumptions.
Are you telling me all PETs papers are engineering papers?
Many PETs papers will have scientific and engineering components, so the distinction is a slippery one. We can approach the question from various angles to see what may distinguish one from the other.
One mantra goes: science focuses on knowledge for its own sake and applied science focuses on knowledge of demonstrable utility, or as some argue, engineering is driven by needs and science by curiosity. Such clean distinctions don’t always work. Cryptographic primitives such as group and ring signatures (heavily used in PET solutions) as well as public key crypto systems were designed mainly out of necessity. Nevertheless, they are also accepted within the community as fundamental scientific contributions. So, realism or instrumentality may not always provide a helpful distinction and dismisses the curiosity that drives privacy engineering.
Another option is to distinguish the contributions of PETs and privacy engineering papers by looking at their end goals. If the end goal of the research is a novel architecture, system, or protocol that allows users to benefit from a service in a more privacy-preserving manner, than the research can be heavier on the scientific side. On the other hand, if the end goal of the research is to help researchers and developers design, implement and evaluate PETs, than the research can be said to primarily have a privacy engineering contribution.
Unfortunately, even this criterion may not always make it clear where to draw the line. This is illustrated by a paper our group wanted to submit some time ago. This was an application paper that was solving a problem on local electricity markets. The objective of the paper was to hide consumption patterns in order to avoid privacy violations while enabling local trading of electricity. This ignited a little debate among us on whether this is a privacy engineering paper. The decision, we knew, would impact which venue we would submit to. The paper responded to a practical need and yet also had a novel protocol that allows users to trade electricity among themselves in a privacy-friendly manner. In the end, we submitted to an applied crypto conference. But given its contributions, we could have also submitted to a venue that accepts privacy engineering papers.
Examples of papers that contain privacy engineering aspects are abound. Take the situation in which researchers have a hypothesis that characteristics of your computer, like your screen size, or installed fonts, when combined may be used to uniquely identify the device, thus can be used to track users’ browsing behavior. To test their hypothesis, the researchers need a tool that collects these features from users. If no such tool is available, the researchers must design their own tool to collect and analyze the data and test their hypotheses. The paper has a scientific contribution as it collects and analyses data to test and support the initial hypothesis. However, such a paper also contains privacy engineering, namely the design and assessment of the tool to collect these data [5]. A paper whose main topic is this tool, or a comparison of different tools, would be an ideal privacy engineering paper [6].
The scope of the two fields may have some differences, too. Privacy engineering includes the development of techniques and tools to enhance legal compliance. Studies of user expectations, preferences and experiences, as well as detailed case studies of privacy solutions in the wild are all crucial to the field of privacy engineering. However, this distinction has also started to blur since PoPETS has defined a greater (interdisciplinary) scope in its mandate. The future will show how these two fields will grow.
This sounds like it is for applying privacy knowledge in the world, what is the educational value?
Most privacy research relies on engineering methods like development of prototypes, implementation and evaluation of reference models. These activities are however often seen as secondary to the research activity: they are briefly mentioned in papers, not central in research proposals and often seen as grad-ware that disappear with the grad students when they end their studies. The conviction that this work is key to making privacy research real is one of the key triggers for the field of privacy engineering. Some great examples exist of privacy researchers highlighting engineering aspects (e.g., petlib from the group led by George Danezis [7], OTR led by Ian Goldberg [8]). The PET community’s involvement with Tor is also a prime example of the back and forth between scientific and applied research. Venues like PETS and the International Workshop on Privacy Engineering [9], co-located with IEEE S&P allow for such work to receive credence from the surrounding community. This seems only timely, given the expectations around privacy by design.
Authors:
Thanks to Abdelrahaman Aly, Sara Cleemput, Eduard Marín Fàbregas, Seda Gurses, Mustafa A. Mustafa and Enrique Argones Rúa for writing this blog post.
The blog post is the product of our discussion on privacy research in COSIC and what parts of that can be seen as contributions to privacy engineering.
References:
[0] This blog post is inspired by the article “Is Computer Science Science?” by Peter J. Denning published in the Communications of the ACM in April 2005. It is the product of discussions between graduate students at COSIC who also authored the post.
[1] Helen Nissenbaum, Privacy in context: Technology, policy, and the integrity of social life. Stanford University Press, 2009.
[2] Daniel J. Solove, “A taxonomy of privacy.” University of Pennsylvania law review (2006): 477-564.
[3] European General Data Protection Regulation http://www.eugdpr.org
[4] Cormac Herley and P. C. van Oorschot. “SoK: Science, Security, and the Elusive Goal of Security as a Scientific Pursuit.”, IEEE S&P, 2017.
[5] Gunes Acar, Marc Juarez, Nick Nikiforakis, Claudia Diaz, Seda Gürses, Frank Piessens, and Bart Preneel. “FPDetective: dusting the web for fingerprinters.” In Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security, pp. 1129-1140. ACM, 2013.
[6] Steven Englehardt and Arvind Narayanan. “Online tracking: A 1-million-site measurement and analysis.” In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pp. 1388-1401. ACM, 2016.
[7] http://petlib.readthedocs.io/en/latest/
[8] https://otr.cypherpunks.ca/index.php
[9] http://www.ieee-security.org/TC/SPW2017/IWPE/


