Hello,

I want to disable possabilety to someone request files from my site, via browser - HTTP, for example:
If someone see my source code, and find file like this:

PHP Code: 
http://mywebsite.com/captions/temp2/JustyLuck.srt 
Then try to enter it in browser, and download it. To see some error, or message like 'Don't Steal'.

But, that file, should work in my flash player on mywebsite.com url.
So, denny access for everyone except my own website, this is caption of video.

I have tried

Code: 
<Files ~ "\.srt$">
Order allow,deny
Deny from all
Allow from env=local_referal
</Files>
Didn't work.

Thanks.
igordr Reviewed by igordr on . Restrict access for certain files in browser - but allow in website Hello, I want to disable possabilety to someone request files from my site, via browser - HTTP, for example: If someone see my source code, and find file like this: http://mywebsite.com/captions/temp2/JustyLuck.srt Then try to enter it in browser, and download it. To see some error, or message like 'Don't Steal'. But, that file, should work in my flash player on mywebsite.com url. Rating: 5