Students cannot view a file in Files outside of the restriction dates, if date restrictions are applied.

In other parts of Canvas where the file is attached (e.g. Modules, Assignments), students will be able to see the name of the file only, if the file is outside the available dates.

If they click it, they will see a message stating that the file has been locked and cannot be seen until the set date.