PDF viewer without download / print option

Add a PDF without giving learners the option to download / print the document.

By default, all PDF viewers offer the option to download / print the document.

If you wish to prohibit the copying of the PDF documents (download, print, save-as), please follow the steps below.

Note: In order to privatise our PDF documents, we will be using Google Drive. You must have a Google account to proceed with this tutorial.

Protect your PDF documents with the help of Google Drive

1) Add your PDF to your Google Drive account. Select the 3 vertical dots menu in the upper right hand corner.

2) Select 'Share'

3) Select the gear icon 'Share with people settings'.

4) Deselect the options: - Editors can change permissions and share - Viewers and commenters can see the option to download, print, and copy

5) Select the Back arrow to return to the sharing menu.

6) Under Get Link select to Change Link

7) Below the 'Get Link' URL, select the drown-down menu to chose who the document will be shared with, and select 'Anyone with Link'

On the right, make sure you have selected 'Viewer' and not 'Commenter' or 'Editor'. Because learners should only be able to 'view' the document, not 'comment' or 'edit'. :)

8) Select 'Copy Link' and then select 'Done'.

Keep this window open and open studio in a new tab so that you may easily re-access the Google URL if necessary.

9) Open the Course > Unit where you want to add the PDF. Select to add an HTML component > Raw HTML.

10) Select to 'Edit' the component.

and replace the text with the following code:

<iframe src="
https://drive.google.com/file/d/1hOzPHBqg-BlU716fr1vyyUD9zlJMHGu3/preview
" width="100%" height="900"></iframe>

11) Replace the src= URL with your Google Drive PDF URL (Step 8).

You can also modify the height and/or width (in pixels) of the PDF viewer.

Select to 'Save' the changes.

Last updated