Nav: Home

Privacy streams helps developers create privacy friendly apps

September 13, 2017

PITTSBURGH -- A smartphone app that uses the raw feed from the device's microphone or accesses its contact list can raise red flags for a user concerned about privacy. In many cases, however, the app doesn't need all the details that users find most sensitive.

Researchers at Carnegie Mellon and Peking universities have addressed this dilemma by creating a service, PrivacyStreams, that enables app developers to access the smartphone data they need for app functionality while assuring users that their private information isn't being sold to an online marketer or otherwise revealed.

A sleep-monitoring app, for instance, might need to access the smartphone's microphone, but only to register loudness, not to monitor conversations. An app developer could simply sample the microphone feed every minute or so, use software in the PrivacyStreams library to transform the raw data to loudness and then send just the loudness data back to the smartphone for use by the app.

"We're creating a new way of doing programming that makes it easier for the developer and also enhances privacy," said Jason Hong, associate professor of computer science in Carnegie Mellon's Human-Computer Interaction Institute (HCII). "And while PrivacyStreams is geared to mobile apps, I think we can apply the same idea to the internet of things, or to accessing historical data."

The researchers will present their findings at Ubicomp 2017, the ACM International Joint Conference on Pervasive and Ubiquitous Computing, Sept. 13-15 in Maui, Hawaii.

"We're assuming that most app developers aren't malicious and that they don't want to violate anyone's privacy. Safeguarding privacy just isn't always the thing that's uppermost in their minds," said Yuvraj Agarwal, assistant professor of computer science in CMU's Institute for Software Research. "So if the developer wants to do the right thing, how do we help them? By saving them time."

The PrivacyStreams library includes a number of programs that can transform personal data into a desired output. A weather app, for instance, might need to access a smartphone's location, but the output would only need to identify a city, a neighborhood or other locality for a forecast. "Instead of developers having to figure out all of this code themselves, we give it to them," Hong said.

Developers also have the opportunity to describe what the data is being used for, which can help users decide whether to install the app or provide permission to access certain data, said Yao Guo, associate professor of computer science at Peking University. Because PrivacyStreams is set up as a pipeline -- raw data streams to the service, then is transformed and transmitted back to the app that requested it -- the process can be audited to ensure that the data is used as described, he added.

If the library proves popular with developers, the researchers say it may someday be possible for PrivacyStreams to certify that apps using the service are using sensitive information responsibly, providing additional guidance to users considering downloading an app.

-end-

In addition to Hong, Agarwal and Guo, the research team included Professor Gang Huang and Ph.D. student Yuanchun Li of Peking University; Fanglin Chen and Toby Jia-Jun Li, both Ph.D. students in the HCII; and Matthew Fredrikson, assistant professor of computer science in CMU's Computer Science Department and Institute for Software Research.

The National Key Research and Development Program, the National Natural Science Foundation of China, the National Science Foundation, the China Scholarship Council, and Google supported this research.About Carnegie Mellon University: Carnegie Mellon is a private, internationally ranked research university with programs in areas ranging from science, technology and business, to public policy, the humanities and the arts. More than 13,000 students in the university's seven schools and colleges benefit from a small student-to-faculty ratio and an education characterized by its focus on creating and implementing solutions for real problems, interdisciplinary collaboration and innovation.

Carnegie Mellon University

Related Smartphone Articles:

Don't rely on smartphone apps to treat back pain
University of Sydney researchers have found that smartphone apps for treating back pain have questionable value as they are generally of poor quality, and have not been rigorously evaluated.
App uses smartphone compass to stop voice hacking
A University at Buffalo-led team of engineers is creating an app to stop voice hacking.
Smartphone-controlled cells help keep diabetes in check
Cells engineered to produce insulin under the command of a smartphone helped keep blood sugar levels within normal limits in diabetic mice, a new study reports.
Smartphone addiction leads to personal, social, workplace problems
Excessive smartphone use leads to problems, and females are especially susceptible to addiction, according to new research from Binghamton University- State University of New York.
Using a smartphone to screen for male infertility
Investigators at Brigham and Women's Hospital set out to develop a home-based diagnostic test that could be used to measure semen quality using a smartphone-based device.
Smartphone interruptions: Are yours relentless and annoying?
Does your smartphone spew a relentless stream of text messages, push alerts, social media messages and other noisy notifications?
Live cell imaging using a smartphone
A recent study from Uppsala University shows how smartphones can be used to make movies of living cells, without the need for expensive equipment.
Smartphone apps may help study cardiovascular health, behaviors
In a study published online by JAMA Cardiology, Euan A.
Smartphone app for early autism detection being developed by UB undergrad
Early detection of autism can dramatically improve the benefits of treatment, but often the disability is not suspected until a child enters school.
Increased smartphone screen-time associated with lower sleep quality
Exposure to smartphone screens is associated with lower sleep quality, according to a study published Nov.

Best Science Podcasts 2017

We have hand picked the best science podcasts for 2017. Sit back and enjoy new science podcasts updated daily from your favorite science news services and scientists.
Now Playing: Radiolab

Oliver Sipple
One morning, Oliver Sipple went out for a walk. A couple hours later, to his own surprise, he saved the life of the President of the United States. But in the days that followed, Sipple's split-second act of heroism turned into a rationale for making his personal life into political opportunity. What happens next makes us wonder what a moment, or a movement, or a whole society can demand of one person. And how much is too much?  Through newly unearthed archival tape, we hear Sipple himself grapple with some of the most vexing topics of his day and ours - privacy, identity, the freedom of the press - not to mention the bonds of family and friendship.  Reported by Latif Nasser and Tracie Hunte. Produced by Matt Kielty, Annie McEwen, Latif Nasser and Tracie Hunte. Special thanks to Jerry Pritikin, Michael Yamashita, Stan Smith, Duffy Jennings; Ann Dolan, Megan Filly and Ginale Harris at the Superior Court of San Francisco; Leah Gracik, Karyn Hunt, Jesse Hamlin, The San Francisco Bay Area Television Archive, Mike Amico, Jennifer Vanasco and Joey Plaster. Support Radiolab today at Radiolab.org/donate.
Now Playing: TED Radio Hour

Future Consequences
From data collection to gene editing to AI, what we once considered science fiction is now becoming reality. This hour, TED speakers explore the future consequences of our present actions. Guests include designer Anab Jain, futurist Juan Enriquez, biologist Paul Knoepfler, and neuroscientist and philosopher Sam Harris.