...
In other parts of Canvas where the file with date restrictions 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.
But if If they click it, they will see a message stating that the file has been locked and cannot be seen until the set date.