I cleaned Net for several hours, looking for a solution with only partial and non-working solutions to show my efforts.
The solution, shown at first glance, seemed like a big fix, but it also blocked my flash player’s access to files. Can I only allow access from certain pages? :
< Files ~ "...">
order allow,deny
deny from all
< /Files>
The solution shown at first glance seemed great, because it did not allow people to view files in the directory, but if the user knows the exact URL of the music file, he can download it:
SetHandler application/x-httpd-php
SetHandler application/x-shockwave-flash
Now I came across this post , which forces the user to create a username and password using htaccess , but I will open a dialog when the flash player is on the screen. Is there a way for the page to send login information without user intervention?
If this is not a safe method, can anyone suggest a safe and relatively direct way to implement this restriction function? URLs and examples would be greatly appreciated
PS This is a WordPress site, so I will use PHP as a programming language to implement any solution.
PS Looking to block newbies from downloading, NOT Hackers / Crackers / Internetmasters.
thanks
security php flash apache .htaccess
Julian
source share