# Hide where a download comes from

**URL:** <https://forum.kirupa.com/t/hide-where-a-download-comes-from/229173>\
**Category:** programming\
**Created:** [June 14, 2007, 5:13pm UTC](https://forum.kirupa.com/t/hide-where-a-download-comes-from/229173 "2007-06-14T17:13:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zipperdeaf](https://avatars.discourse-cdn.com/v4/letter/z/58956e/32.png) [@zipperdeaf](https://forum.kirupa.com/u/zipperdeaf)\
**Post date:** [June 14, 2007, 5:13pm UTC](https://forum.kirupa.com/t/hide-where-a-download-comes-from/229173/1 "2007-06-14T17:13:41Z")

</div>

Hello everyone.  
On my website, I have users with access to download certain zip files a certain number of times. Then when that number of times runs out, they can no longer do it and must buy more if they still need the file. What I want to do(if there is a better way let me know) is I guess mask where the download is coming from ie: [mysite.com/file.zip](http://mysite.com/file.zip) becomes [mysite.com/aslkdamfnosqwa.zip...but](http://mysite.com/aslkdamfnosqwa.zip...but) then again, now that I think about it. I want them to not have an odd looking filename. This would be PHP based. Any suggestions?
