是否可以让我的网络应用程序允许用户上传图像并将上传的图像存储在Google云端硬盘或Box帐户中? 不是用户的Google云端硬盘或Box帐户,而是由网络应用拥有的帐户。
如果可能的话,任何关于如何去做的指针将不胜感激。
Is it possible to have my web app allow users to upload images and store the uploaded images in a Google Drive or Box account? Not the user's Google Drive or Box account, but one that is owned by the web app.
If that is possible, any pointer on how to go about it would be appreciated.
最满意答案
是的,这完全可以使用Google Drive SDK。 您的应用可以创建一个应用程序拥有的帐户 ,您的应用程序可以使用该API正常上传和下载文件。
您当然可以使用常规帐户,但是您需要手动授权至少一次来存储令牌。
(不知道Box)
Yes, this is entirely possible using the Google Drive SDK. Your app can create an application-owned account with which your app will be able to upload and download files using the API as normal.
You can of course use a regular account for this, but then you will need to manually authorize at least once to store the token.
(no idea about Box)
更多推荐
发布评论