Quote:
Originally Posted by r00t3d
AndrewD
firstly: nice hack/mod 
secondly: is there any way to stop non-logged in or non-registered users from downloading files? I tried by setting the permissions to a forum which wont allow not-loggedin or unregistered users to download attachments, will that permission work for the downloads.
The downloadable files are just dumped into a directory, and directly linked to the mod.
Do I need to add the files as attachments to the forum and then use that forums attachment link rather than the direct link to stop unregistered users from downloding? or is there another way round it?
Tnx
|
This is exactly what the forum permission setting is for. Every time you associate a link or a category with a forum, then it is only visible to users who are allowed to *visit* that forum. (Access to forum attachments is not the issue - it is forum accessibility.)
You do not need to add the files as attachments - just dump them in a directory. You need to take care that the file and directory names are not that obvious, otherwise people could just go straight there. The hack hides the information from the casual user.