{'fraction_non_alphanumeric': 0.015193370165745856, 'fraction_numerical': 0.0, 'mean_word_length': 5.062761506276151, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Measuring profile distance in online social networks

Online Social Networks (OSNs) provide new ways for people to communicate with one another and to share content. OSNs have become quite popular among the general population but their rapid growth has raised concerns about privacy and security. Many predict that the OSNs of today provide a glimpse of the future Internet infrastructure. Whether or not that will be true is difficult to say but what is certain is that the privacy, integrity, and security issues and concerns need to be addressed now. In fact, the mainstream media have uncovered a rising number of potential and occurring problems, including: identity theft, unauthorized sharing of private information, malicious behavior of OSN services and applications, and so on. This paper addresses several important security and privacy issues by focusing on one of the core concepts of OSNs; the user profile, which both includes private and public information that the user shares to different parties and the customized security and privacy settings of the user. We present a method for comparing user profiles, by measuring the distance between the profiles in metric space, and for determining how well an OSN application conforms to user privacy settings. We report on a case study in which the proposed method is applied to Facebook to demonstrate the applicability of the method as well as to motivate its theoretical foundation.