Users can edit permissions for files, including setting the state of the file (published or unpublished), make files available to students who have the link, or schedule availability dates for the files.
When the link restriction is set (only available to students with the link), the file can only be viewed if they are given the link to the file. However, this option only allows files to be hidden from students in Course Files. This functionality is not valid outside of the Files feature. For instance, if a file with a link restriction is added to a Module or Assignment, the file can always be viewed by students.
When the student availability date restriction is set, students can view the name and information for the file. In addition to Course Files, files with an availability date restriction can be viewed anywhere in Canvas (such as when the file is added to Modules or Assignments), but the file will be locked and they cannot view the actual file until the specified date. Please note that this option does not apply to media files; students can always view media files regardless of availability dates, but they cannot download the files.
Note: You can also restrict a file or folder as part of setting usage rights for files or setting usage rights for folders.
Learn more about locking files and folders by clicking here.