Nina
(Nina)
4 يونيو 2021، 8:26ص
1
مرحباً،
نجحت في تشغيل Discourse، والآن أود تعطيل تسجيل عناوين IP للمستخدمين.
هناك العديد من المناقشات حول ذلك كجزء من اللائحة العامة لحماية البيانات (GDPR) في الاتحاد الأوروبي (2018، 2019)، لكنني لم أتمكن من العثور على حل عملي لذلك.
As we’re quickly approaching May 25th, here’s my (perhaps naive) understanding of certain key Discourse GDPR issues:
Right to Be Forgotten
If the user requests, the admin can use the user info panel to delete all of a user’s posts. Note you may need to up the “delete user max post age” and “delete all posts max” settings but then it’s possible. Once there are no more posts you can then delete the user.
Alternatively, a less disruptive solution is the “Anonymize User” button …
https://meta.discourse.org/t/disabling-unnecessary-logging-for-gdpr-compliance/86301
أقدر جداً لو قام أحد بتوجيهي لإيجاد الحل!
إعجاب واحد (1)
Nina
(Nina)
7 يونيو 2021، 8:40ص
2
مرحبًا @codinghorror ،
هل يوجد دليل “كيفية” لاقتراحك على https://meta.discourse.org/t/possible-to-not-log-user-ip-addresses/46502/10؟
أرى أن هناك طلبات كثيرة على تعطيل تسجيل عناوين IP في عام 2018 بسبب اللائحة العامة لحماية البيانات في الاتحاد الأوروبي، لذا أتوقع وجود حل بسيط بالفعل لهذا الغرض.
pfaffman
(Jay Pfaffman)
7 يونيو 2021، 11:01ص
3
تحتاج إلى عناوين IP لمكافحة الإساءة، لذا أعتقد أن معظم الناس قد قرروا أن الطريقة التي يدير بها Discourse عناوين IP لا تشكل انتهاكًا لـ GDPR. أعتقد أنه لم يظهر أي مكون إضافي يقوم بما تطلبه.
الحل البسيط هو استخدام وكيل عكسي خارجي وعدم تكوين Discourse لاستخدام عنوان IP للوكيل العكسي (وهو ما يحدث افتراضيًا).
4 إعجابات
للباحثين في المستقبل: يمكنك استخدام NGINX أمام مثيل discourse، يمكنك تعيين X-Real-IP إلى عنوان IP ثابت 127.0.0.1:
location / {
proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock:;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP 127.0.0.1;
}
لا تتركه خارجًا لأنك ستواجه أخطاء وسيفشل التطبيق في البدء:
Completed 500 Internal Server Error in 149ms (Views: 11.1ms | ActiveRecord: 0.0ms | Allocations: 70970)
PG::InvalidTextRepresentation (ERROR: invalid input syntax for type inet: "unix:"
LINE 7: client_ip = 'unix:',
^
)