\chapter{Introduction}
\label{ch:introduction}

\section{Motivation}
\label{sec:motivation}
Numerous scandals about data protection in \acp{OSN} have proven that user data are not sufficiently protected. In March 2018 it became known that the data of 87 million Facebook users were made available to the company Cambridge Analytica \cite{facebook2018cambridge-analytica}. During a security investigation in March 2019, Facebook found that the passwords of several hundred million users were stored unencrypted in plain text \cite{facebook2019passwords}. After an analysis by Google revealed a severe bug in the \ac{API} that allowed the personal data of 52.5 million users to be retrieved, it was decided to close their platform Google+ \cite{google-plus2018shutdown}.

However, although these circumstances are well known, users remain mostly loyal to their \ac{OSN}. As a result of the Cambridge Analytica incident, the number of daily Facebook users dropped only briefly in Europe but is in the meantime back on the previous level \cite{facebook2019reportq4}. Alternative \acp{OSN}, which focus on protecting their users' data, regularly fail to get a sufficiently large user base or establish a business model to ensure their operation. For example, the decentralized \ac{OSN} Diaspora* has less than 700\,000 users after nine years and the \ac{OSN} OpenBook\footnote{https://www.openbook.social/en/home} needed a second Kickstarter crowdfunding\footnote{https://www.kickstarter.com/projects/1520156881/openbook-privacy-friendly-fun-and-honest-social-ne} round after the first one failed \cite{openbookXXXXkickstarter}.

The binding to the respective \ac{OSN} is so strong that switching to another, more secure \ac{OSN} does not seem to be an option. To better protect users' data on existing platforms, other ways have to need to be examined. The Doctoral College \enquote{Privacy and Trust for Mobile Users} works on \enquote{Privacy and Trust in Social Networks (Resarch  Area  B)} \cite{rtgXXXXarea-b}. Especially the subarea B.2 \enquote{Privacy Protection via Hybrid Social Networks} is about hybrid solutions that combine established \acp{OSN} and privacy-preserving approaches \cite{rtgXXXXarea-b2}. As part of these researches, this work is motivated to provide a detailed concept for a hybrid solution to protect the user's data and verify the idea with a prototype.

\section{Contribution}
\label{sec:contribution}
The goal of this work is to define the requirements for a hybrid solution and to prove its feasibility in the form of a prototype. Within the scope of the concept for a hybrid solution, the requirements for the \ac{OSN}, the hybrid client app and the network for secure data exchange have to be defined, and potential problems and limitations have to be identified. Based on these requirements, the elaboration of solution strategies for the implementation is possible. 

For the prototype, an Android application that exchanges private data with other users via a \ac{P2P} network is created.  The previously defined requirements should be fulfilled in the best possible way. Both the selection of the \ac{OSN} and the technologies used need to be carefully evaluated.

With the Hybrid \ac{OSN} app for Twitter, we present a solution that allows private data to be shared securely with other users of the same app without complicated configuration. Thus, everyone can protect their privacy and still use the usual features of the \ac{OSN}.

\section{Outline}
\label{sec:outline}
The remainder of this thesis is structured as follows. In Chapter \ref{ch:background}, a comprehensive overview of different network and system architectures is given for a better understanding of this work. In particular, the basics of software system architectures and their characteristics are described, as well as \ac{P2P} networks and \acp{dApp}.  Chapter \ref{ch:related-work} is about relevant work and projects in the context of this thesis. In Chapter \ref{ch:concept}, the general concept of a hybrid \ac{OSN} is discussed, and requirements to the solution are defined. Furthermore, several solution strategies are carried out. Chapter \ref{ch:proof-of-concept} describes our implementation of the concept in the form of an Android app for the hybrid use of Twitter. The design decisions and architecture are considered as well.  Chapter \ref{ch:evaluation} evaluates the Hybrid \ac{OSN} prototype with the previously defined requirements. Besides, the limitations and threats are discussed. Finally, Chapter \ref{ch:conclusions} summarizes this work and gives an outlook for future work.