EnglishDeutsch

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:

  1. Plugins as such cannot be certified, only applications. Google Drive access would have to be built directly into Total Commander.
  2. 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.
  3. OWASP rules are very strict, so Total Commander would no longer be able to use third party plugins.
  4. 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?

  1. Get your own client ID and client secret as described below,
    or
  2. Upload files via Google Drive app (made by Google). This can be done in Total Commander via long click -> "Send to"
    or
  3. Move your data to a different cloud service. Total Commander for Android supports Dropbox, Microsoft OneDrive, plus others via WebDAV plugin,
    or
  4. 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
  5. 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:

  1. Go to https://console.developers.google.com/
  2. Log in with your Google account (doesn't need to be the same as for the cloud connection)
  3. Create a new project by clicking on the top-left combobox and then on "new project"
  4. Click on "ENABLE APIS AND SERVICES"
  5. Search for "Google Drive API"
  6. Click "ENABLE"
  7. Click "Credentials" in the left-side panel
  8. Click on "CONFIGURE CONSENT SCREEN"
  9. Click "External"
  10. Click "CREATE"
  11. Set an app name (of your choice)
  12. Choose your e-mail in "User support mail"
  13. Enter your e-mail in "Developer contact information"
  14. Click "SAVE AND CONTINUE"
  15. Click on "ADD OR REMOVE SCOPES"
  16. Enable: API:Google Drive API" Scope: ".../auth/drive"
  17. Click "UPDATE"
  18. Click "SAVE AND CONTINUE"
  19. Click "ADD USERS" under "Test users"
  20. 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).
  21. Click "ADD"
    -> your e-mail should appear under "User information"
  22. Click "ADD" again if the mail wasn't accepted
  23. Click "SAVE AND CONTINUE"
  24. Click on "Credentials" in the left menu
  25. Click on "+ CREATE CREDENTIALS"
  26. Select "OAuth client ID"
  27. Set Application type to "Desktop app" (name does not matter), NOT to "Android"!
  28. Click "CREATE"
  29. Click on "DOWNLOAD JSON"
  30. Click "OK"
  31. Make sure to update to the latest cloud plugin from the Play Store
  32. Within the drive plugin, click on <Settings & Privacy>, and then on "JSON"
  33. Pick the json file you downloaded above.

We apologize for the inconvenience.