How to use cloud resources users to put the application files?

There is a need to store data that placed the user on the server and on the client.
There is an idea to register users through Yandex, and ask for the right to use their Yandex disk.
The same integration, google does in his classroom, only used google drive instead of a disk Yandex. But there is a problem: the data published by the user must be available to all, it is necessary to create a public link to this resource. But the public link does not point directly to a file. Public link points to the page where you can already download the file. Are there any ideas? Reference to the Yandex disk, you can offer other services.
June 5th 19 at 21:02
2 answers
June 5th 19 at 21:04
Recommend Google Drive. For individual applications, see the REST API of Google Drive. Examples in JavaScript.

Another good serverless option – Google Apps Script (GAS) in, for example, Google's SpreadSheet - it can be done, in particular, the telegram bot to which you can upload images that are in Google Drive, and the bot will link to uploaded image, accessible to all. I had such mechanics.

GAS Drive API allows you to upload a file, make it available to "all" and get the link to it.
June 5th 19 at 21:06
The task of the "cloud", just the opposite. What to think about them at all and repeat like a mantra?

placed the user on the server and on the client

To do this, each client computer must be a server even for one particular task.

Or "shared cloud" (or edit access, not in General) or "public folder" corporate network (local, working, etc.).
Can you please give an example of such a "public cloud"? You can do as you wrote. - hortense_Tromp commented on June 5th 19 at 21:09
so the same disk.Google for business
(I'm not sure whether there is at Yandex, malesnica also something mutila)

Under the overall cloud I mean cloud on his (or not) the server (or any such).

In General all of them - Yandex, Google, dropbox (mega?, meylru?) shared editing of documents. The choice is only on the additional capabilities, ease ... something else. - Lurline commented on June 5th 19 at 21:12

Find more questions by tags Cloud storageGoogle DriveJavaScriptYandex.Disk