Just to make sure we're in the same page, there are 2 kinds of db: a lot of users' dbs and one shared db. The server knows which user db is from which user, but it doesn't know which document from shared db corresponds to which user.