Open main menu

Difference between revisions of "Cloud Storage Scopes List"

no edit summary
(Created page with "== Overview == "Scope" defines the permissions granted to the application. Some cloud storage providers have a lot of "scopes", some have only a few. Usually these are listed...")
 
Line 22: Line 22:


Google Drive has different scopes (https://developers.google.com/drive/v3/web/about-auth#OAuth2Authorizing). The most important for us are:
Google Drive has different scopes (https://developers.google.com/drive/v3/web/about-auth#OAuth2Authorizing). The most important for us are:
* https://www.googleapis.com/auth/drive - full access to user's files;
* https://www.googleapis.com/auth/drive - full access to user files;
* https://www.googleapis.com/auth/drive.file - full access to user files created by the application;
* https://www.googleapis.com/auth/drive.readonly - read-only access to file metadata and file content;
* https://www.googleapis.com/auth/drive.readonly - read-only access to file metadata and file content;
* https://www.googleapis.com/auth/drive.appfolder - access to the Application Data folder.
* https://www.googleapis.com/auth/drive.appfolder - access to the Application Data folder.


Application Data folder is completely hidden from user, thus ScummVM uses <code>https://www.googleapis.com/auth/drive</code> and creates "ScummVM" folder in the root. Scope is passed as "scope" GET parameter in the OAuth link.
Application Data folder is completely hidden from user, thus ScummVM uses <code>https://www.googleapis.com/auth/drive.file</code> and creates "ScummVM" folder in the root. Scope is passed as "scope" GET parameter in the OAuth link.
 
Because the app is restricted to it's own files, users can not place files in the google drive manually.


== Box ==
== Box ==