There are two main reasons leave it in this way:
- It's not so easy to get direct link for attachment
- most sites doesn't require such ultimate security
- implementation of such security checking requires a really high amount of hosting resources.
So, if you still needs this, currently, you can implement it by yourself or with third party assistance.
P.S. It was already discussed on our forum.
Confirmed. Unregistered user can still download any attachement by direct URL.There are two main reasons leave it in this way:
- It's not so easy to get direct link for attachment
- most sites doesn't require such ultimate security
- implementation of such security checking requires a really high amount of hosting resources.
So, if you still needs this, currently, you can implement it by yourself or with third party assistance.
P.S. It was already discussed on our forum.
Options! The key to good software platform. If we don't want secure attachments, and the associated overheads, we should be able to switch it off!
Oxwall is designed and built using another approach. The main keys we are following to are:
- speed
- extensibility
- usability
Following these concepts allows to provide an affordable software for a huge range of website in different niches (from small local communities hosted on cheap shared accounts to international high-loaded web portals hosted with advanced cloud systems ).
Adding all possible options each time won't lead to a good software, it will make it complicated and slow.
Basically, forum's attachements are secured with hashed filename. Take a look at a generic file name: attachment_1970_5137056893890.jpg . If the common none-logged user havent' been informed by another user with the exact filename, then, probably we won't get it. This works for most website. The performance is obtained as there are direct links to static attachment files (i.e. http://www.oxwall.org/...70_5137056893890.jpg). This means the file is returned to user directly, without executing any PHP.
But, if you need an advanced protection, you are free to implement it as a forum's extension via plugin. In this case, direct links to static attachment files won't work. There should be a special check for logged-in users in PHP file. The PHP file should fopen and send the atatchemnt into a browser if access is allowed. And this will require to execute PHP script each time the user perform to view/download attachment file.
The store functionality requires an additional security, as paid items should be protected from none authorized access.
The store functionality requires an additional security, as paid items should be protected from none authorized access.
And this will require to execute PHP script each time the user perform to view/download attachment file.
it mean big server resouces use ? and slow all site on share hosting ?
sample : if this page have 150 pics.. php must execuse 150 times to send pic to user browser (for only 1 page view and if the user reload/refresh page ..php work 300times) ?
sorry for my English
Yes, it does seem like an issue that unregistered users are able to view and download attachments on the forum. It's possible that this could be a bug or a misconfiguration. To address this, I recommend reaching out to the forum administrators or JRS International technical support team. They should be able to investigate the issue and provide a solution to ensure that only registered users have access to attachments.