1. A method for a third-party application to access to a file in a cloud-based environment, the method comprising: receiving, at the third-party application, metadata that identifies the file; transmitting the metadata to a server which is associated with the third-party application, wherein the metadata enables the server to request the file from the cloud-based environment.