How to write the code for self expiring download link for asp.net website?
<p>I am planning to sell digital goods on my website (Asp.net). After successful payment the customer will be redirected to the download page of my website, which will display the link to download the digital content stored in my server. </p>

<p>I want to secure the location of the file, by creating a disposable link to the file. Every time a customer visits this page a new download link will be generated for the same file. Also this link should expire after it is downloaded for the first time. </p>

<p>Is it possible to do it in asp.net ( C# preferably )? if yes how can i do it? </p>
