Understanding Privacy-Related Advice on Stack Overflow

Jan 1, 2022·
Mohammad Tahaei
Mohammad Tahaei
,
Tianshi Li
Kami Vaniea
Kami Vaniea
· 0 min read
Abstract
Privacy tasks can be challenging for developers, resulting in privacy frameworks and guidelines from the research community which are designed to assist developers in considering privacy features and applying privacy enhancing technologies in early stages of software development. However, how developers engage with privacy design strategies is not yet well understood. In this work, we look at the types of privacy-related advice developers give each other and how that advice maps to Hoepman’s privacy design strategies. We qualitatively analyzed 119 privacy-related accepted answers on Stack Overflow from the past five years and extracted 148 pieces of advice from these answers. We find that the advice is mostly around compliance with regulations and ensuring confidentiality with a focus on the inform, hide, control, and minimize of the Hoepman’s privacy design strategies. Other strategies, abstract, separate, enforce, and demonstrate, are rarely advised. Answers often include links to official documentation and online articles, highlighting the value of both official documentation and other informal materials such as blog posts. We make recommendations for promoting the under-stated strategies through tools, and detail the importance of providing better developer support to handle third-party data practices.
Type
Publication
In Proceedings on Privacy Enhancing Technologies
publication
Mohammad Tahaei
Authors
Graduated PhD Student
Kami Vaniea
Authors
Kami Vaniea (she/her)
Associate Professor

I am an Associate Professor at the University of Waterloo’s Department of Electrical and Computer Engineering (ECE) where I head the Technology Usability Lab in Privacy and Security (TULiPS). The goal of my research is to make security and privacy technologies more accessible for a wide range of users including end users, developers, and system administrators. I believe that technology should support people in their activities. My recent projects include topics like patch management, developer-centered privacy, phishing, online anonymity, smart speaker privacy, and privacy on social media.

Research Toics: Access Control · Phishing · Privacy · Software Updates · Smart Speakers · Developer-Centered Privacy · Authentication

Affiliations: at the University of Waterloo and University of Edinburgh: