I'm setting up a store with digital downloads. How can

I'm setting up a store with digital downloads.
How can I setup an .htaccess file in the folder where I store my downloads so that only the url generated from Marketpress can download the file?
I have researched and tried different methods, none have been successful.