.htaccess - Is it possible to use http_refer to block direct access to a folder while allows a flash player access -


I have MP3 files on my server that I can access on my site through a flash player. Is it possible to use http_refer to do this as suggested by a close associate?

Based on my research, I was coming in the code given below but blocking everyone including my Flash Player. How do I get files with my flash player manipulate the .htaccess file?

& lt; Files *
Deny All

< http_referer (SIC) to validate / files>

) Are some insecure because some users turn it off. If your files are available on the web ... well, they are available on the web A lot of people spend a lot of time and money, considering how to limit the audio, there is little effect. Without much time investment, I do not care much about it.

In addition to this, header firefox is sent when Flash requests for an MP3:

  GET / Music MP3 HTTP / 1.1 Host: MyHost: 80 users -Agent: Mozilla / 5.0 (Windows; U; Windows NT 6.0; N-GB; RV: 1.9.2.2) Geico / 20100316 Firefox / 3.6.2 GTB 7.1 (.NAT CLR 3.5.30729) Text / html, App / XHTML + XML, Application / XML; Q = 0.9, * / *; Q = 0.8 Accept-Language: N-GB, N; Q = 0.5 Accepting Encoding: Gadget, Display Acceptable-Charset: ISO-8859-1, UTF-8; Q = 0.7, *; Keep Q = 0.7- Alive: 115 Connection: Keep-alive  

False identification is out of luck as the source of the request.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -