I've been scouring the Net for hours looking for a solution with with only partial and non-functioning solutions to show for my efforts.
The solution below seemed like a great fix at first but it also blocks my flash player from accessing the files. Could I only allow access from particular pages?:
< Files ~ "...">
order allow,deny
deny from all
< /Files>
The solution below seemed great at first because it didn't allow people to view the files in the directory but if the user knows the exact url of the music file, they can download it:
SetHandler application/x-httpd-php
SetHandler application/x-shockwave-flash
Now, I came across this post that forces a user to produce a username and password using htaccess but I dialog box pops up when on the flash player screen. Is there a way for the page the send the login info without the user doing anything?
If this isn't a secure method, can someone suggest a secure and relatively straight-forward method of implementing this restriction feature? URLs and examples would be greatly appreciated
P.S. This is a WordPress site, hence, I'll be using PHP as a programming language to implement any solution.
P.S. Looking to block novices from downloading, NOT hackers/crackers/internet wizards.
Thanks