使用Google云端硬盘或Box作为网络应用的图片商店(Using Google Drive or Box as an image store for a web app)

编程入门 行业动态 更新时间:2024-10-27 05:23:12
使用Google云端硬盘或Box作为网络应用的图片商店(Using Google Drive or Box as an image store for a web app)

是否可以让我的网络应用程序允许用户上传图像并将上传的图像存储在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)

更多推荐

本文发布于:2023-08-07 00:05:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1457609.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:云端   商店   硬盘   图片   网络

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!