send/app/ui/legal.js

107 lines
5 KiB
JavaScript
Raw Normal View History

2018-10-25 02:07:10 +00:00
const html = require('choo/html');
2019-01-29 21:08:54 +00:00
const modal = require('./modal');
2018-10-25 02:07:10 +00:00
2019-01-29 21:08:54 +00:00
module.exports = function(state, emit) {
2018-10-25 02:07:10 +00:00
return html`
2019-02-22 21:31:54 +00:00
<main class="main">
2019-01-29 21:08:54 +00:00
${state.modal && modal(state, emit)}
2018-11-16 20:39:36 +00:00
<div
class="flex flex-col items-center bg-white m-4 px-6 py-8 border border-grey-light md:border-none md:px-12 md:py-16 shadow w-full md:h-full"
2018-11-16 20:39:36 +00:00
>
<h1 class="text-center">${state.translate('legalTitle')}</h1>
<p class="mt-2">${state.translate('legalDateStamp')}</p>
2019-03-07 13:43:45 +00:00
<div class="overflow-scroll py-8 px-12">
<p class="leading-normal">
2019-03-07 23:16:45 +00:00
<span>When Mozilla receives information from you, our</span>
2019-03-07 13:43:45 +00:00
<a
href="https://www.mozilla.org/privacy/"
target="__blank"
rel="noopener noreferrer"
2019-03-07 23:16:45 +00:00
class="text-blue-dark hover:underline"
2019-03-07 13:43:45 +00:00
>Mozilla Privacy Policy</a
>
2019-03-07 23:16:45 +00:00
<span
>describes how we handle that information. Below are the top
things you should know about Firefox Send. You can also view the
code</span
>
2019-03-07 13:43:45 +00:00
<a
href="https://github.com/mozilla/send/blob/master/docs/metrics.md"
target="__blank"
rel="noopener noreferrer"
2019-03-07 23:16:45 +00:00
class="text-blue-dark hover:underline"
2019-03-07 13:43:45 +00:00
>here</a
>.
</p>
<ul class="mt-6 leading-normal">
<li class="mb-4">
2019-03-07 13:43:45 +00:00
<b>Content</b>: Mozilla receives an encrypted copy of the file you
upload but we cannot access the content or name of your encrypted
file. By default, files are stored for a maximum of either 24
hours or 7 days. If you choose a download cap, the file can be
deleted from our server sooner.
</li>
<li class="mb-4">
2019-03-07 13:43:45 +00:00
<b>Data on your device</b>: So that you can check status or delete
files, basic information about your uploaded files is stored on
your local device. This includes our identifier for the file, the
filename, and the files unique download URL. This is cleared if
you delete your uploaded file or upon visiting Send after the file
expires. Note, however, that the URL will persist in your browsing
history (and with whomever you shared it) until manually deleted.
</li>
<li class="mb-4">
2019-03-07 13:43:45 +00:00
<b>Personal data</b>: The following is necessary to provide the
service:
<ul class="mt-6 leading-normal">
<li class="mb-4">
<u>IP addresses</u>: We receive IP addresses of downloaders
and uploaders as part of our standard server logs. These are
retained for 90 days, and for that period, may be connected to
activity of a files download URL. Although we develop our
services in ways that minimize identification, you should know
that it may be possible to correlate the IP address of a Send
user to the IP address of other Mozilla services with
accounts; and if there is a match, this could identify the
account email address.
</li>
<li class="mb-4">
2019-03-07 13:43:45 +00:00
<u>Firefox Account</u>: This is required for authentication
only if you wish to upload larger file sizes. Your Firefox
Account record will retain aggregate data on your usage of
Send: for example, if you created a Firefox Account in
connection with Send, number of files sent and approximate
file sizes, and how many times youve used the service.
</li>
</ul>
</li>
<li class="mb-4">
2019-03-07 13:43:45 +00:00
<b>Non-personal data</b>: We receive the following to improve our
service and performance:
<ul class="mt-6 leading-normal">
<li class="mb-4">
<u>Interaction data</u>: This includes information such as
number of people sending and receiving files, number of files
uploaded and approximate file sizes, percentage of file
downloaders who become uploaders, how people engage with the
website (time spent, clicks, referrer information, site exit
path, use of passwords).
</li>
<li class="mb-4">
2019-03-07 13:43:45 +00:00
<u>Technical data</u>: This includes information such as
operating system, browser, language preference, country,
timestamps, duration for file transfer, reasons for errors,
reasons for file expiration.
</li>
</ul>
</li>
<li class="mb-4">
2019-03-07 13:43:45 +00:00
<b>Third Party Services</b>: We use Google Cloud Platform.
</li>
</ul>
</div>
2018-11-16 20:39:36 +00:00
</div>
</main>
`;
2018-10-25 02:07:10 +00:00
};