Deliverable 2

Description: Add differential privacy to fuzzify number of users in groups. This deliverable ensures that Yioop is protected against statistical attacks

Implementation steps:

  • Identify instances in the UI where the statistic - number of users in a group - is displayed
  • Locate the Controller where group activities are handled
  • Identify and understand the working of the function that displays group users data
  • Understand the database function that fetches group users data from the database
  • Apply differential privacy to number of users in a group

Discoveries:

  • Controller where group activities are handled : SocialComponent
  • Function that displays group users data : getGroupUsersData()
  • Function to fetch group users data from DB : countGroupUsers()

Results:

Create a group test with 3 users: root, user1 and user2

Number of users in group

Login as user1 and check if number of users is fuzzified

Users Fuzzified

Login as root and check if number of users is fuzzified

Root users fuzzified