I was recently asked how best to share a file with students but prevent them from downloading it to their computer/device – in this particular instance, it was sharing an assignment submission from a previous semester as an example for current students.
Moodle offers ways to share files with students but with browsers becoming more sophisticated over the years, there are always features or “add ins” which can get around the restrictions that you’d like to impose.
The best recommendation that I could give here was to use the sharing permissions in Google Drive as it’s possible to remove the “download” button from viewers.
To do this:
- Locate the file in Google Drive that you wish to share, right-click on it and select Share
- From the ‘Share with people and groups’ pop-up, click on the ‘gear’ icon (1, below):

- In the ‘Share with people settings’ screen, uncheck the checkbox: Viewers and commenters can see the option to download, print and copy (2, below). Then click on the left-arrow icon (3) to return to the main sharing settings screen:

- Now that the settings have been configured, you can Copy link (4, below) to copy the link to your clipboard and finally click on Done (5) to confirm the changes:

To make the file available to your students, you would simply share the URL in the usual way, such as using a URL resource or hyperlinked text in a Forum post in a Moodle course.