Skip to content

Commit d440072

Browse files
authored
Merge pull request #7 from dotkernel/issue-6
anonymization page
2 parents 0db6a82 + cb30a17 commit d440072

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Account anonymization
2+
3+
According to the GDPR, companies that record personal data from EU citizens must delete said data if its owner requests its deletion.
4+
An alternative is to anonymize the data, according to [this article](https://commission.europa.eu/law/law-topic/data-protection/reform/rules-business-and-organisations/dealing-citizens/do-we-always-have-delete-personal-data-if-person-asks_en).
5+
6+
## What is 'personal data'?
7+
8+
According to [this article](https://commission.europa.eu/law/law-topic/data-protection/reform/what-personal-data_en), personal data is:
9+
10+
- A name and surname.
11+
- A home address.
12+
- An email address such as [email protected].
13+
- An identification card number.
14+
- Location data (for example the location data function on a mobile phone).
15+
- An Internet Protocol (IP) address.
16+
- A cookie ID.
17+
- The advertising identifier of your phone.
18+
- A phone number.
19+
- Data held by a hospital or doctor, which could be a symbol that uniquely identifies a person.
20+
21+
Out of the box, Dotkernel Frontend saves the user's name (firstname and lastname) and email (identity).
22+
This personal data is used for emails related to password reset and account activation.
23+
24+
## Anonymization
25+
26+
The anonymization process makes these replacements:
27+
28+
- The firstname and lastname are replaced with `anonymous` concatenated with the current UNIX timestamp, e.g. `anonymous1725980747`.
29+
- The email is replaced with `anonymous` concatenated with the current UNIX timestamp and the value in `userAnonymizeAppend`, e.g. `[email protected]`.
30+
- The avatar image and its database record are deleted.
31+
32+
The `userAnonymizeAppend` key can be set in `config/autoload/local.php` or left empty.
33+
34+
Note: setting `userAnonymizeAppend` to an email domain would work as a catch-all email, if your email service provider has this option enabled.

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ nav:
2727
- "Dependency Injection": v5/core-features/dependency-injection.md
2828
- "Languages": v5/core-features/languages.md
2929
- "CSRF": v5/core-features/csrf.md
30+
- "Account anonymization": v5/core-features/account-anonymization.md
3031
site_name: frontend
3132
site_description: "DotKernel Frontend"
3233
repo_url: "https://github.com/dotkernel/frontend"

0 commit comments

Comments
 (0)