Skip to content

Instantly share code, notes, and snippets.

@ganesh-srinivas
Last active December 10, 2017 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ganesh-srinivas/dcf9e1bab5d03a2f3c4ce8188ffa0960 to your computer and use it in GitHub Desktop.
Save ganesh-srinivas/dcf9e1bab5d03a2f3c4ce8188ffa0960 to your computer and use it in GitHub Desktop.
Proposal for Usable Privacy Infrastructure

This gist will document progress, ideas and source code for my work on usable privacy (and security) infrastructure.

Inspiration

TODO:

  • Product goal: Build an email service based on the paper Deploy-It-Yourself(DIY) Hosting for Online Privacy - enabled by cheap serverless computing and secured by container isolation and a key manager.

Web users today rely on centralized services for applications such as email, file transfer and chat. Unfortunately, these services create a significant privacy risk: even with a benevolent provider, a single breach can put millions of users’ data at risk. One alternative would be for users to host their own servers, but this would be highly expensive for most applications: a single VM deployed in a high-availability mode can cost many dollars per month. In this paper, we propose Deploy It Yourself (DIY), a new model for hosting applications based on serverless computing platforms such as Amazon Lambda. DIY allows users to run a highly available service with much stronger privacy guarantees than current centralized providers, and at a dramatically lower cost than traditional server hosting. DIY only relies on the security of container isolation and a key manager as opposed to the large codebase of a high-level application such as Gmail (and all the Google teams using Gmail data). With attestation technology such as SGX, DIY’s execution could also be verified remotely. We show that a DIY email server that sends 500 messages/day costs $0.26/month, which is 50× cheaper than a highly available EC2 server. We also implement a DIY chat service and show that it performs well. Finally, we argue that DIY applications are simple enough to operate that cloud providers could offer a simple “app store” for using them. https://cs.stanford.edu/~matei/papers/2017/hotnets_diy.pdf

  • Outreach through compelling demos and talks - (i) A demo and talk at ChennaiPy, (ii)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment