doc(privacy-policy): add privacy policy doc

Update doc/PRIVACY-POLICY.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

Update doc/PRIVACY-POLICY.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

Update doc/PRIVACY-POLICY.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>

Update doc/PRIVACY-POLICY.md

Update doc/PRIVACY-POLICY.md

Update doc/PRIVACY-POLICY.md

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
This commit is contained in:
Martin 2022-03-04 17:05:48 +01:00
parent c2eab85a90
commit 393c678fdd

34
doc/PRIVACY-POLICY.md Normal file
View file

@ -0,0 +1,34 @@
# Privacy policy documentation
This document describes various privacy consideration that should be considered when deploying an instance of demarches-simplifiees.fr.
## Matomo and or Analytics service
In order to prevent Matomo to store personnal information, you should set it up with some additional configurations options.
### Exclude some query parameters from matomo
* how : [see the matomo doc](https://matomo.org/faq/how-to/faq_81/)
* what :
We recommend to ignore the following query parameters
```
fbclid
*token
/.*token/
*email*
```
* why : some pages use URL query parameters to transmit the user email address. To avoid these being logged by Matomo, they should be excluded from the logged parameters.
## Forms data requested by user :
Depending on your local regulations/laws, **beware** : you can't collect some data, others requires special infrastructure.
### Risky forms inputs in France :
* unless your instance is running on a HDS infrastructure, you can't collect any health data. This includes Social Security number, health records, etc. [Source : CNIL](https://www.cnil.fr/fr/quest-ce-ce-quune-donnee-de-sante)
* in France, a form can't ask for the race or religion. [Source : INSEE](https://www.insee.fr/fr/information/2108548)
## Data expirations :
Data retention **mist not exceed 36 months**. Depending on your instance configuration, you should check that all records of the `procedures` table have the column `procedure_expires_when_termine_enabled` set to `true`. Also make sure the default value of `procedures.procedure_expires_when_termine_enabled` is true.