简体   繁体   English

我可以在没有Google帐户的情况下访问Google云端硬盘文档吗?

[英]Can I access Google drive docs without a Google acount?

I want my android app to access a specific acount [not the user's account] and download a file. 我希望我的Android应用程序访问特定的帐户[不是用户的帐户]并下载文件。 Is this possible? 这可能吗?

To use google docs you need a google account. 要使用谷歌文档,您需要一个谷歌帐户。 This does not require you to have a google mail account. 这不要求您拥有Google邮件帐户。

With this URL you can make yourself a google account using your own email adres: https://accounts.google.com/NewAccount?continue=https%3A%2F%2Fdocs.google.com%2F%23&followup=https%3A%2F%2Fdocs.google.com%2F&service=writely&ltmpl=homepage 使用此网址,您可以使用自己的电子邮件地址将自己设为Google帐户: https ://accounts.google.com/NewAccount continue = https% 3A%2F%2Fdocs.google.com%2F%23 followlow = https% 3A% 2F%2Fdocs.google.com%2F和服务的Writely =&ltmpl =主页

Good luck, 祝好运,

Thomas van Latum Thomas van Latum

This is generally possible using Service Accounts . 这通常可以使用服务帐户 Service Accounts however may not be used directly from Android applications, as Android wouldn't be able to protect your private key file. 但是,服务帐户可能无法直接在Android应用程序中使用,因为Android无法保护您的私钥文件。

A workaround would be to have a web application yourself that queries the data from Google using a Service Account and only connecting to your web application from Android. 解决方法是自己创建一个Web应用程序,使用服务帐户查询来自Google的数据,并仅从Android连接到您的Web应用程序。 How you make sure that only your client can access your web application is then however in your responsibility. 但是,您有责任确保只有您的客户可以访问您的Web应用程序。

What I was looking for, namely freemium cloud services, is better served by Google appEngine or Azure or Amazon or Apple cloud Freemium deals etc. Note that these are usually easy to implement but there are many scaling issues that should affect the decision. 我所寻找的,即免费增值云服务,更适合谷歌appEngine或Azure或亚马逊或Apple云免费增值交易等。请注意,这些通常很容易实现,但有许多扩展问题应该影响决策。 Importantly there is high cost in moving from one cloud platform to another because the code is idiosyncratic and useless outside the specific cloud. 重要的是,从一个云平台迁移到另一个云平台的成本很高,因为代码在特定云之外是特殊且无用的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM