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.
- .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.
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 (above), 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.
The image above shows an alert message indicating that a restricted file cannot be uploaded.