Need log the who downloaded attachments

:face_with_thermometer:

My site canot know who downloaded attachments.

Check your nginx logs for that information.

nginx logs too big data.

now have 40,000 users. :face_with_thermometer:

Now only have counter, I wanto logs who user download. can it be technically possible?

I find this GitHub - discourse-pro/df-restricted-files: The «Restricted Files» plugin for Discourse

but canot use 1.8

You can install Data explorer plugin and write an SQL query for that (or ask here if someone can write a query for you What cool data explorer queries have you come up with?)

1 Mi Piace

Note that attachments can be downloaded by anyone who has the link.

1 Mi Piace

I have a idea, use

script/nginx_analyze.rb

can help me add the code ? Output all zip and rar url User access Filename + username.

So I know who downloaded it.

C’è un nuovo plugin per i file limitati? Sembra che quello a cui hai fatto riferimento sia piuttosto vecchio e potrebbe non essere compatibile con l’ultima versione di Discourse?

Forse Secure Uploads?

Wow! Sembra spaventoso.
Inoltre, non si usa S3 (che immagino significhi Amazon), vero?
Grazie comunque.
Voglio solo ottenere un elenco delle persone che hanno scaricato i file, e se potessi proteggere quei file in modo che siano accessibili solo agli utenti autorizzati, sarebbe un plus!

Credo che tu possa ottenere un elenco di chi ha visualizzato quei post con Data Explorer. Non so invece se sia possibile sapere chi li ha scaricati.

Se hai un budget, potrei aiutarti a limitare l’accesso ai caricamenti solo agli utenti che hanno effettuato l’accesso.

1 Mi Piace

Grazie.
Al momento, purtroppo, non ho un budget per eventuali personalizzazioni.

1 Mi Piace