Restricted File Extensions

To use the Restricted File Extensions feature, the d2l.Tools.Dropbox.RestrictFileExtensions configuration variable must be ON. When the configuration variable is enabled, in the Submission and Completion section of the New Assignment Creation Experience, users see options to restrict file extensions on submissions for the assignment.

The Allowable Filetypes field provides options for the types of files that learners can submit for the assignment. Options in the drop down menu include:

  • Annotatable files, which include all file types that are supported by the Annotation tool in Assignments. For the complete list of file types, see File types supported by Annotations.

  • .PDF only

  • Files that can be previewed without any conversion, such as .HTM, .HTML, .MHT, .MHTML, and .BMP

  • Images and videos

  • Custom filetypes

If an instructor selects Custom File Extensions, they can then enter file extensions that are allowed for file submissions.

The Allowable Filetypes filed with the Custom filetypes option selected opens a text field to list the allowable file extensions

Figure: The Allowable Filetypes filed with the Custom filetypes option selected opens a text field to list the allowable file extensions

When file type restrictions are used on an assignment, the list of allowable file types are listed on the Submit Assignment dialog.

In the Submit Assignment dialog, the allowable filetypes are listed based on the restrictions set by the instructor

Figure: In the Submit Assignment dialog, the allowable file types are listed based on the restrictions set by the instructor

When a learner attempts to upload a file submission for an assignment of a file extension type that the instructor has restricted, an error message appears.

An alert message indicating that a restricted file cannot be uploaded.

Figure: An alert message indicating that a restricted file cannot be uploaded.