Attachment downloads disabled for non-registered users
Posted: Mon Sep 02, 2024 9:31 pm
Hi folks,
I noticed very slow performance on the forums today (2nd September), with pages sometimes failing to load. Along with that, I have noticed recently that forum attachments have very large download counts - an uploaded log file might have been downloaded 50 or 100 times within 24 hours, previously it might have been 1 or 2 times.
Working on the assumption that someone out there is busily trying to download forum attachments wherever they can find them, and that the excessive downloads are causing the performance issues, I have blocked 'Guest' users from downloading attachments. Guest users means people who do not have an account, or those who are not logged in. Logged in forum members will see no problems (all attachments available to download/view).
So far, this seems to have helped - within 30 minutes of making the change, the forums seem responsive again with no failed page loads. Unfortunately the block on attachments also blocks images in the gallery if they have been uploaded to the forums as an attachment (images on other web sites will still show).
I will be keeping the situation under observation and will see if I can fix the gallery image issue over the next few days.
cheers,
Robin
I noticed very slow performance on the forums today (2nd September), with pages sometimes failing to load. Along with that, I have noticed recently that forum attachments have very large download counts - an uploaded log file might have been downloaded 50 or 100 times within 24 hours, previously it might have been 1 or 2 times.
Working on the assumption that someone out there is busily trying to download forum attachments wherever they can find them, and that the excessive downloads are causing the performance issues, I have blocked 'Guest' users from downloading attachments. Guest users means people who do not have an account, or those who are not logged in. Logged in forum members will see no problems (all attachments available to download/view).
So far, this seems to have helped - within 30 minutes of making the change, the forums seem responsive again with no failed page loads. Unfortunately the block on attachments also blocks images in the gallery if they have been uploaded to the forums as an attachment (images on other web sites will still show).
I will be keeping the situation under observation and will see if I can fix the gallery image issue over the next few days.
cheers,
Robin