forked from iterative/dvc.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request iterative#952 from iterative/privacy
add privacy policy
- Loading branch information
Showing
2 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# Google Privacy Policy | ||
|
||
DVC is using the [Google Drive API](https://developers.google.com/drive/) to | ||
make it easier to store and version files in the Google Drive storage. For the | ||
details on how to setup it check the respective sections in the `dvc remote add` | ||
and `dvc remote modify` commands as well as the relevant Google Drive section of | ||
this User Guide. | ||
|
||
DVC uses the _DVC Google Drive_ application on Google Cloud Platform. That is | ||
the name you will see in a consent screen. DVC integration is governed by common | ||
policies recorded here. | ||
|
||
Your use of Google APIs with DVC is subject to each API’s respective terms of | ||
service. See | ||
[Google APIs Terms of Service](https://developers.google.com/terms/). | ||
|
||
## Accessing user data | ||
|
||
DVC access Google resources from your machine you run DVC on. Your machine | ||
communicates directly with the Google APIs. | ||
|
||
DVC project never receives your data or the permission to access your data. The | ||
owners of the project can only see anonymous, aggregated information about usage | ||
of tokens obtained through its OAuth client, such as which APIs and endpoints | ||
are being used. | ||
|
||
DVC Google Drive integration includes functions that you can execute in order to | ||
read or modify your own data (or data shared with you). This can only happen | ||
after you provide a token, which requires that you authenticate yourself as a | ||
specific Google user and authorize these actions. | ||
|
||
DVC can help you get a token by guiding you through the OAuth flow in the | ||
browser. There you must consent to allow the _DVC Google Drive_ application to | ||
operate on your behalf. The OAuth consent screen will describe the scope of what | ||
is being authorized, e.g., it will name the target API(s) and whether you are | ||
authorizing “read only” or “read and write” access. | ||
|
||
There are two ways to use DVC with Google Drive without authorizing the _DVC | ||
Google Drive_ application: bring your own service account token or configure the | ||
package to use an OAuth client of your choice. See the relevant Google Drive | ||
section of this User Guide. | ||
|
||
## Scopes | ||
|
||
DVC allows you to manage your Google Drive files and therefore the default | ||
scopes include read/write access to Google Drive. | ||
|
||
## Sharing user data | ||
|
||
DVC only communicates with Google APIs. No user data is shared with the owners | ||
of the _DVC Google Drive_ application, DVC, Iterative or any other servers. | ||
|
||
## Storing user data | ||
|
||
DVC stores your credentials on your machine, for later reuse by you. Use caution | ||
when using DVC on shared machine. | ||
|
||
By default, an OAuth token is cached in a local file per DVC repository - | ||
`.dvc/tmp/gdrive-user-credentials.json`. | ||
|
||
## Usage in other packages or applications | ||
|
||
Do not use an API key or client ID from the _DVC Google Drive_ application in an | ||
external package or tool. Per the | ||
[Google User Data Policy](https://developers.google.com/terms/api-services-user-data-policy), | ||
your application must accurately represent itself when authenticating to Google | ||
API services. | ||
|
||
If you use DVC inside another package or application that executes its own logic | ||
— as opposed to code in the DVC Google Drive integration or by the user — you | ||
must communicate this clearly to the user. Do not use credentials from the _DVC | ||
Google Drive_ application; instead, use credentials associated with your project | ||
or your user. | ||
|
||
## Acknowledgments | ||
|
||
This document is a modified version of the | ||
[Privacy policy for packages that access Google APIs](https://www.tidyverse.org/google_privacy_policy/) | ||
by [Tidyverse](https://www.tidyverse.org/). |