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

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

「いいね!」 1

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.

新しい制限付きファイルプラグインはありますか?リンクされているものはかなり古く、Discourseの最新バージョンと互換性がない可能性があります。

Secure Uploads をご参照ください。

わあ!怖そうです。
それに、S3(おそらく Amazon のことですね)は使わないんですか?
ありがとうございます。
単にファイルをダウンロードした人のリストが欲しいだけなんですが、もしそのファイルを承認されたユーザーのみがアクセスできるように保護できれば、それ以上の望みです!

データエクスプローラーを使えば、その投稿を見た人のリストを取得できると思います。ただし、誰がダウンロードしたかはわからないかもしれません。

予算がある場合は、ログインしているユーザーにのみアップロードへのアクセスを制限するお手伝いをしてもよいかもしれません。

「いいね!」 1

ありがとうございます。
残念ながら、現時点ではカスタマイズの予算がありません。

「いいね!」 1