Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Backup to Dropbox, Linux script

What is supposed to do:

  • Demo and test OAuth2 protocol
  • Use "implicit grant" method

Allow to make files backups in your Dropbox in the application folder.

  1. code grant (server side / web apps) / both key & secret / 2 stages (more secure) (can be guaranteed that the user will not view the source code to get the key & the secret) The rationale is to never expose secret to the user, thus they can't pretend to be the same app.

    1. step one - just to authenticate
    2. step two - to exchange the authorization code to token
  2. implicit grant - token (client side, mobile / JS) / app key only / 1 stage User can view the source code (JS), no reaseon to distinguish between public key & secret

Token is like a key to access the files (bearer token).

In this project, it makes sense to use Option 2.

About

Dropbox sync script based on Python API and OAuth2 authorization

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages