These are two scripts from the forum is "index.php" and "files.php" I have again modified in several lines, so that guests can not download the files contained on the topic unless the user. If you want to try it, please download the script below
How to use:
1. Exrtract file index.php to:
/forum/(put here)
2. Extract file files.php to:
/forum/includes/(put here)
then see the results on the topic of your forum as a guest.
For example see my site at:
forum attachment files login user only
Havefun....
Start topic, attach files in post