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 and then on
"new project"
- Click on "ENABLE
APIS AND SERVICES"
- Search for
"Google Drive API"
- Click
"ENABLE"
- Click
"Credentials" in the left-side panel
- Click on
"CONFIGURE CONSENT SCREEN"
- Click
"External"
- Click
"CREATE"
- Set an app name (of
your choice)
- Choose your e-mail in
"User support mail"
- Enter your e-mail in
"Developer contact information"
- Click "SAVE AND
CONTINUE"
- Click on "ADD OR
REMOVE SCOPES"
- Enable: API:Google
Drive API" Scope: ".../auth/drive"
- Click
"UPDATE"
- Click "SAVE AND
CONTINUE"
- Click "ADD
USERS" under "Test 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 "ADD"
-> your e-mail should appear under "User
information"
- Click "ADD"
again if the mail wasn't accepted
- Click "SAVE AND
CONTINUE"
- Click on
"Credentials" in the left menu
- Click on "+
CREATE CREDENTIALS"
- Select "OAuth
client ID"
- Set Application type
to "Desktop app" (name does not
matter), NOT to "Android"!
- Click
"CREATE"
- Click on
"DOWNLOAD JSON"
- Click "OK"
- 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.
|