User-agent: *
Disallow: /audio/robots.txt in the root directory of your site.I was hoping there was a way for the server / directory to sense where the request was coming from (a file on the server in the same directory) and simply deny access to the file from any foreign request. I thought maybe htaccess could do it or there'd be some other solution. Am I mistaken?You can't easily do this, because according to this support-forum thread, JW Player doesn't send a Referer header, so we have to allow any request that doesn't supply that header, which means that any user not following a link could paste the URL into their browser and download the file.
You are not logged in, either login or create an account to post comments
posted by whiskeyspider at 6:45 PM on October 5