| Contents
|
 |
|
|
|
Drive
Plugin: Information about Google Drive
Unfortunately, access to
Google Drive will only be possible by creating your own
client id and client secret, otherwise Google would
require a security
assessment
following the extremely strict OWASP standard. Unfortunately it is
impossible for a plugin to follow these rules:
- Plugins as such
cannot be certified, only applications. Google
Drive access would have to be built directly into
Total Commander.
- OWASP requires to
follow very specific rules when developing a
program. It cannot be applied to an existing
program, so Total Commander would have to be
rebuilt from scratch. This is completely
impossible within a reasonable time frame.
- OWASP rules are very
strict, so Total Commander would no longer be
able to use third party plugins.
- The security
assessment would have to be performed by a
specialized company, and costs up to $75'000 per
year and program. This is not sustainable even
with a subscription.
In conclusion, access to
Google Drive via drive plugin has become much more
complicated.
What are your options now
if you need to access data currently stored on Google
Drive?
- Get your own client
ID and client secret as described below,
or
- Upload files via
Google Drive app (made by Google). This can be
done in Total Commander via long click ->
"Send to"
or
- Move your data to a
different cloud service. Total Commander for
Android supports Dropbox, Microsoft OneDrive,
plus others via WebDAV plugin,
or
- Migrate your data to
your own OwnCloud or NextCloud server and enable
WebDAV access, then use our WedDAV plugin. This
is very easy to setup when using a Web control
panel like Plesk, and it makes you independent
from the big cloud services,
or
- Use an SFTP server
(file transfer over SSH secure shell) with our
SFTP plugin, or a FTPS server (SSL encrypted FTP)
with the FTP plugin.
Here are the steps
to create your own client id and client secret. You can
use the same JSON credentials file as for the cloud
plugin on Windows. Fortunately this needs to be done only
once:
- Go to https://console.developers.google.com/
- Log in with your
Google account (doesn't need to be the same as
for the cloud connection)
- Create a new project
by clicking on the top-left combobox (3 dots in a
circle) and then on "new project".
- Give the project a
name and click CREATE.
- Click on "+ Enable
APIs and Services"
- Search for
"Google Drive API"
- Click "Enable"
- Click on "OAuth
consent screen" on the left side
- Click "Get
started"
- Set an app name (of
your choice)
- Choose your e-mail in
"User support mail"
- Enter your e-mail in
"Developer contact information"
- Click "Next"
- Under
"Audience", choose "Internal"
if you are in a big company, otherwise
"External"
- Click "Next"
- Enter your e-mail in
"Contact information"
- Click "I
agree" and then "Create"
- Under
"Metrics", click "Create OAuth
Client"
- Set Application type
to "Desktop app" (name does not
matter), NOT to "Android"!
- Click
"Create"
- Click on "Download
Json", then "OK"
- Click on "Data
access"
- Click on "Add or
remove scopes"
- Enable: API: "Google
Drive API" Scope: ".../auth/drive"
- Click
"UPDATE"
- Click "Save"
- Click "Audience"
on the left side
- Click "+ Add
users"
- Enter your own e-mail
address which you use for the Google account
which you want to access withe the drive plugin.
If you want to access multiple drive accounts,
enter their email addresses all here (up to 100).
- Click "Save"
-> your e-mail should appear under "User
information"
- Click "ADD"
again if the mail wasn't accepted
- Make sure to update
to the latest cloud plugin from the Play Store
- Within the drive
plugin, click on <Settings & Privacy>,
and then on "JSON"
- Pick the json file
you downloaded above.
We apologize for the
inconvenience.
|