This is a complex topic. I specialise in ecommerce and multimedia.
Do you want to allow full quality samples? Full quality full files? Poor quality samples? ...
Basically, you want to protect your sounds folder with either a .htaccess, or by placing it outside of your web root and having a PHP script verify access and read/write it directly to the browser.
We need more information on your specific needs to give specific advice.