使用Dropbox的数据库 [英] Using dropbox as database

查看:126
本文介绍了使用Dropbox的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能建立应用集成丝毫Dropbox的ACC,并使用此帐号的所有客户端?我要上传图片到Dropbox的,和所有客户端应用程序可以下载或上传从我的应用程序这个ACC?
我已阅读从那里网站的所有的Dropbox SDK的教程,但偷不知道这是可能的。

Is it possible to build app whit integrated dropbox acc, and use this account for all clients? I want to upload images to dropbox, and all client apps can download it, or upload to this acc from my app? I have read all dropbox sdk tutorial from there site, but steal not sure if this is possible.

推荐答案

不是真的。 DropBox的使用OAuth授权,以允许用户使用自己的帐户登录。即使假设你想出如何登录代表他们用自己的凭据,你会发放凭据的人谁希望他们,让别人账户上,等更改密码。

Not really. DropBox uses OAuth for authorization to allow users to login with their own accounts. Even assuming you figured out how to log in on their behalf with your own credentials you would be handing out your credentials to anyone who wants them, allowing someone to change the password on the account, etc.

另外我想你可以生成令牌和手那些出来,而不是,但是你必须设置一些这个Web服务,而你仍然有人们能够做的东西到您的帐户的问题不怀疑你不希望他们做的事。例如。任何人上传我可以创建只即刻删除所有的应用程序,或者我可以创建与用零填充文件填补了配额的应用程序。

Alternatively I suppose you could generate tokens and hand those out instead, however you'd have to setup some sort of web service for this, and you'd still have problems with people being able to do stuff to your account that no doubt you don't want them to do. E.g. I could create an app that just instantly deletes everything that anyone uploads, or I could create an app that fills up your quota with files filled with zeroes.

这是不是有什么打算DropBox的用户使用的API(事实上它可能是对的ToS,你应该阅读,以确保如果你这条路,尽管我沮丧下去)。你应该用一个更合适的存储方法。

This is not what DropBox intends you to use the API for (and in fact it may be against the ToS, you should probably read to make sure if you're going down this route despite my discouragement). You should use a more appropriate storage method.

这篇关于使用Dropbox的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆