When you create a shared link, click on Link Settings>Link Expiration>Disable Shared Link on:






There you can set the date the link expires. Please let us know if you have any questions. 

Best regards,