legal.js 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. const html = require('choo/html');
  2. const modal = require('./modal');
  3. module.exports = function(state, emit) {
  4. state.modal = null;
  5. return html`
  6. <main class="main">
  7. ${state.modal && modal(state, emit)}
  8. <div
  9. class="flex flex-col items-center bg-white m-4 px-6 py-8 border border-grey-30 md:border-none md:px-12 md:py-16 shadow w-full md:h-full dark:bg-grey-90"
  10. >
  11. <h1 class="text-center text-3xl font-bold">
  12. ${state.translate('legalTitle')}
  13. </h1>
  14. <p class="mt-2">${state.translate('legalDateStamp')}</p>
  15. <div class="overflow-y-scroll py-8 px-12">
  16. <p class="leading-normal">
  17. <span>When Mozilla receives information from you, our</span>
  18. <a
  19. href="https://www.mozilla.org/privacy/"
  20. target="__blank"
  21. rel="noopener noreferrer"
  22. class="link-blue hover:underline"
  23. >Mozilla Privacy Policy</a
  24. >
  25. <span
  26. >describes how we handle that information. Below are the top
  27. things you should know about Firefox Send. You can also view the
  28. code</span
  29. >
  30. <a
  31. href="https://github.com/mozilla/send/blob/master/docs/metrics.md"
  32. target="__blank"
  33. rel="noopener noreferrer"
  34. class="link-blue hover:underline"
  35. >here</a
  36. >.
  37. </p>
  38. <ul class="mt-6 leading-normal">
  39. <li class="mb-4">
  40. <b>Content</b>: Mozilla receives an encrypted copy of the file you
  41. upload but we cannot access the content or name of your encrypted
  42. file. By default, files are stored for a maximum of either 24
  43. hours or 7 days. If you choose a download cap, the file can be
  44. deleted from our server sooner.
  45. </li>
  46. <li class="mb-4">
  47. <b>Data on your device</b>: So that you can check status or delete
  48. files, basic information about your uploaded files is stored on
  49. your local device. This includes our identifier for the file, the
  50. filename, and the file’s unique download URL. This is cleared if
  51. you delete your uploaded file or upon visiting Send after the file
  52. expires. Note, however, that the URL will persist in your browsing
  53. history (and with whomever you shared it) until manually deleted.
  54. </li>
  55. <li class="mb-4">
  56. <b>Personal data</b>: The following is necessary to provide the
  57. service:
  58. <ul class="mt-6 leading-normal">
  59. <li class="mb-4">
  60. <u>IP addresses</u>: We receive IP addresses of downloaders
  61. and uploaders as part of our standard server logs. These are
  62. retained for 90 days, and for that period, may be connected to
  63. activity of a file’s download URL. Although we develop our
  64. services in ways that minimize identification, you should know
  65. that it may be possible to correlate the IP address of a Send
  66. user to the IP address of other Mozilla services with
  67. accounts; and if there is a match, this could identify the
  68. account email address.
  69. </li>
  70. <li class="mb-4">
  71. <u>Firefox Account</u>: This is required for authentication
  72. only if you wish to upload larger file sizes. Your Firefox
  73. Account record will retain aggregate data on your usage of
  74. Send: for example, if you created a Firefox Account in
  75. connection with Send, number of files sent and approximate
  76. file sizes, and how many times you’ve used the service.
  77. </li>
  78. </ul>
  79. </li>
  80. <li class="mb-4">
  81. <b>Non-personal data</b>: We receive the following to improve our
  82. service and performance:
  83. <ul class="mt-6 leading-normal">
  84. <li class="mb-4">
  85. <u>Interaction data</u>: This includes information such as
  86. number of people sending and receiving files, number of files
  87. uploaded and approximate file sizes, percentage of file
  88. downloaders who become uploaders, how people engage with the
  89. website (time spent, clicks, referrer information, site exit
  90. path, use of passwords).
  91. </li>
  92. <li class="mb-4">
  93. <u>Technical data</u>: This includes information such as
  94. operating system, browser, language preference, country,
  95. timestamps, duration for file transfer, reasons for errors,
  96. reasons for file expiration.
  97. </li>
  98. </ul>
  99. </li>
  100. <li class="mb-4">
  101. <b>Third Party Services</b>: We use Google Cloud Platform.
  102. </li>
  103. </ul>
  104. </div>
  105. </div>
  106. </main>
  107. `;
  108. };