1. A non-transitory computer readable medium having instructions stored thereon that are capable of causing a computer system to implement operations comprising: storing data of a first user in a first portion of a multi-tenant database and data of a second user in a second portion of the database, wherein the first portion is separate from the second portion, and wherein the data of the first user includes a file of the first user; receiving, from the first user, information about a connection between the first user and the second user of the database, wherein the information indicates that the data of the first user is to be shared with the second user; storing the information after notifying the second user of the connection; in response to storing the information, replicating data of the file from the first portion to the second portion; receiving a first request from the second user for at least a portion of the data of the first user, wherein the portion includes the file; and in response to receipt of the first request and based on the stored information: generating a first query to retrieve the replicated data from the second portion of the database; and providing, to the second user, the portion of the data retrieved using the first query.