Follow these instructions to only share an file or folder for a limited amount of time.
As soon as the date is selected, the expiration date has been set. The expiration date can be modified by following the same process.
When the expiration date is reached, the file will be automatically unshared.
It is possible to unshare the file manually before that date.