Wednesday, August 31, 2022

exploring moodle file download links and associated database tables

Our users wanted a search implementation which could enable users to download resources from courses to which they are not enrolled. Checking out the possibilities, the download link is of the form
https://oursite.org/pluginfile.php/15810/mod_folder/content/0/Teaching%20Aids/Filename.pptx

The structure of the link is described in
https://docs.moodle.org/dev/File_API

But user permissions are checked before allowing the download. So, this is not suitable for our use case.

No comments:

Post a Comment