Hi,
I have been using moddle for several months and I'm very happy of this great script.
However, last week, with my new students, I saw (with the log feature) a student who accessed a hidden ressource (a file) in a course.
I asked him how he did that. He answered me that he saw the link of the previous (and last shown) file in the browser, like : www.xxxxx.org/moodle/mod/resource/view.php?inpopup=true&id=10
So, he had the idea to check if there was not other files after this one and he tried :
www.xxxxx.org/moodle/mod/resource/view.php?inpopup=true&id=11
He had the great surprise to see and download the next file of my course which was the correction of an exercice for the next week... Good for him...not for me...
So, I just wonder if there is any possibility to change the format of the link. For security reasons, it would better if the IDs of the files were not in logical order.
The ID could be a random number indexed in the database ?
With this solution, students (skilful with computers) won't be able to download and see files before they are displayed on the course.
Thanks for your help and for all your suggestions in order to avoid a new file robbery before time...
Julien