Go to file
Nick Craig-Wood 349112df6b oauthutil: fix security problem when running with two users on the same machine
Before this change two users could run `rclone config` for the same
backend on the same machine at the same time.

User A would get as far as starting the web server.  User B would then
fail to start the webserver, but it would open the browser on the
/auth URL which would redirect the user to the login.  This would then
cause user B to authenticate to user A's rclone.

This changes fixes the problem in two ways.

Firstly it passes the state to the /auth call before redirecting and
checks it there, erroring with a 403 error if it doesn't match.  This
would have fixed the problem on its own.

Secondly it delays the opening of the web browser until after the auth
webserver has started which prevents the user entering the credentials
if another auth server is running.

Fixes #3573
2019-09-29 10:42:02 +01:00
.github build: replace Circle CI build and make GitHub actions the default CI 2019-09-25 16:38:10 +01:00
backend ftp: fix listing of an empty root returning: error dir not found 2019-09-28 18:01:12 +01:00
bin docs: chunker documentation 2019-09-24 12:45:12 +01:00
cmd serve/httplib: Write the template to a buffer to catch render errors 2019-09-22 21:31:11 +01:00
contrib/docker Contrib: Add sample WebDAV server Docker Compose manifest. 2019-09-15 16:06:54 +01:00
docs chunker: finish meta-format before release 2019-09-25 11:03:33 +01:00
fs chunker: finish meta-format before release 2019-09-25 11:03:33 +01:00
fstest chunker: finish meta-format before release 2019-09-25 11:03:33 +01:00
graphics graphics: update rclone logos to new design 2019-08-24 09:31:33 +01:00
lib oauthutil: fix security problem when running with two users on the same machine 2019-09-29 10:42:02 +01:00
vendor vendor: add pkcs8 helpers for decrypting encrypted private keys 2019-09-20 17:15:16 +01:00
vfs vfs: make objects of unknown size readable through the VFS 2019-09-14 13:09:07 +01:00
.gitattributes build: add azure pipelines build 2019-08-06 10:31:32 +01:00
.gitignore chore: update .gitignore 2019-06-19 11:59:46 +01:00
.golangci.yml build: move linter build tags into Makefile to fix golangci-lint 2019-04-12 15:48:36 +01:00
CONTRIBUTING.md fstest: remove -subdir flag as it no longer tests anything useful #3421 2019-08-17 09:54:19 +01:00
COPYING Initial commit - some small parts working 2012-11-18 17:32:31 +00:00
Dockerfile Dockerfile fixes 2019-09-17 10:12:32 +01:00
MAINTAINERS.md build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
MANUAL.html Version v1.49.0 2019-08-26 15:25:20 +01:00
MANUAL.md Version v1.49.0 2019-08-26 15:25:20 +01:00
MANUAL.txt Version v1.49.0 2019-08-26 15:25:20 +01:00
Makefile build: make VERSION file be master of the last release - fixes #3570 2019-09-26 16:51:44 +01:00
README.md docs: chunker documentation 2019-09-24 12:45:12 +01:00
RELEASE.md build: make VERSION file be master of the last release - fixes #3570 2019-09-26 16:51:44 +01:00
VERSION build: make VERSION file be master of the last release - fixes #3570 2019-09-26 16:51:44 +01:00
go.mod vendor: add pkcs8 helpers for decrypting encrypted private keys 2019-09-20 17:15:16 +01:00
go.sum vendor: add pkcs8 helpers for decrypting encrypted private keys 2019-09-20 17:15:16 +01:00
notes.txt Replace test_all.sh with test_all.go which is cross platform and parallel 2015-12-30 09:26:34 +00:00
rclone.1 Version v1.49.0 2019-08-26 15:25:20 +01:00
rclone.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00

README.md

rclone logo

Website | Documentation | Download | Contributing | Changelog | Installation | Forum

Build Status Windows Build Status Build Status CircleCI Go Report Card GoDoc Docker Pulls

Rclone

Rclone ("rsync for cloud storage") is a command line program to sync files and directories to and from different cloud storage providers.

Storage providers

Please see the full list of all storage providers and their features

Features

  • MD5/SHA-1 hashes checked at all times for file integrity
  • Timestamps preserved on files
  • Partial syncs supported on a whole file basis
  • Copy mode to just copy new/changed files
  • Sync (one way) mode to make a directory identical
  • Check mode to check for file hash equality
  • Can sync to and from network, e.g. two different cloud accounts
  • Optional large file chunking (Chunker)
  • Optional encryption (Crypt)
  • Optional cache (Cache)
  • Optional FUSE mount (rclone mount)
  • Multi-threaded downloads to local disk
  • Can serve local or remote files over HTTP/WebDav/FTP/SFTP/dlna

Installation & documentation

Please see the rclone website for:

Downloads

License

This is free software under the terms of MIT the license (check the COPYING file included in this package).