Code Monkey home page Code Monkey logo

ppa's Introduction

PPA - Privacy Preserving Analytics

Evaluation of Google's differential privacy tool, along with the modifications made, on a real world database.

-> A basic, non-technical introduction to PPA and differential privacy: https://desfontain.es/privacy/differential-privacy-awesomeness.html

-> The tool can be found at: https://github.com/google/differential-privacy (Only the modified wrapper is present in the repo, so the tool has to be built before cloning)

-> The differentially privacy paper can be found at: https://arxiv.org/pdf/1909.01917.pdf

-> Tool Requirements:

- Linux OS

- Bazel v.3

- PostgreSQL v.11.0

- Python 3.6 or higher

Note: Fast and stable internet is absolutely necessary in order to build the tool successfully. 

-> Modifications made include:

- Conversion of normal SQL queries to the intrinsically private queries that the tool requires

- Improvement in performance overhead using a different mechanism to calculate lower and upper bounds.

-> Database.zip contains the SQL files to create the testing database.

Working:

  • To run a normal query: python3 Privacy.py <database name> "<Query without the ';' at the end>"
  • To run the test script (only works for the UBER database: python3 test_privacy.py "<test input file that has all the queries>"
  • To run the modified WWM file: python3 privacy_wwm.py <database name> "<Query without the ';' at the end>"
  • To run the string matching modified file: python3 str_privacy.py <database name> "<Query without the ';' at the end>"

Authors

  • Adithi Satish
  • Avnish Goel
  • Manah Shetty

ppa's People

Contributors

adithisatish avatar manahshetty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.