简体   繁体   中英

Accessing my Google Drive API from my App

I would like to create a Google Android App and I want my app (ONLY my app and NO ONE ELSE) to have access to my Google Drive API. Right now, I published it as public and allowing anonymous connection to access it. Obviously this is very bad. I do not want to make user to Authencate with their account just so my app can access my google drive api. How can I do this? Thanks

Unless I'm not understanding your question. Google Drive API requires authentication through OAUTH. Only people with your google credentials will be able to login to your account. For example if I used your application and logged in with my google account it would have access to my drive not yours.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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