Hi, I would like to store in my webserver (dedicated server) many mp3 files (up to 1000) that my application in the same server can use to display songs. I just create a directory called music and I upload some mp3 files in it for the test. I can reach the file using http://mywebsite/music/mp3-1.mp3 and so on. What I would like to do: =>Protect the directory so that only my webapplication in localhost (or personnal IP) can reach the directory music and all its content. I want to avoid people coming from external IP to grab all the music or to access the music just by the url. I tried .htaccess but this did not work I would like to try Squid but I don't really know if I need it Thanks for your help
A .htaccess file should be able to do the job but there are several reasons why it might not have worked. What did you put in your .htaccess file ?