Results 1 to 3 of 3
Hi,
I'm trying to figure out how to prevent users from "hotlinking" to mp3 files on my web server. Here is how I want the website to be:
1) Users ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-05-2005 #1Just Joined!
- Join Date
- Sep 2005
- Location
- Tokyo, Japan
- Posts
- 2
Prevent Hot Linking -- Wimpy Player
Hi,
I'm trying to figure out how to prevent users from "hotlinking" to mp3 files on my web server. Here is how I want the website to be:
1) Users can listen to music using Wimpy Button (http://www.wimpyplayer.com/products/wimpy_button.html).
2) Users should not be able to download music directly.
Here are the two problems I'm facing:
1) The mp3 files must be under DocumentRoot.
2) .htaccess cannot be used to restrict access because Wimpy Button sends blank http referer.
Any suggestion would be appreciated,
--Michi
- 09-06-2005 #2Linux User
- Join Date
- Aug 2005
- Location
- Peterborough, UK
- Posts
- 379
I haven't used .htaccess extensively or for a while but if the Wimpy button was going to be the only thing sending a blank http referer, then surely you could use .htaccess to exclude anyone who does send one? Or have I missed the point?
\"I am, after all,\" said Pooh, \"a bear of very little brain.\"
MY PC: Athlon XP64 3000+ on a Asus K8V-X mobo w/1GB of non-descript RAM. AGP - GeForce 2 MX400. PCI - Creative Live! 5.1 soundcard. 140 GB and 120 GB SATA WD drives.
- 09-06-2005 #3Just Joined!
- Join Date
- Sep 2005
- Location
- Tokyo, Japan
- Posts
- 2
Hi Odd_bloke,
The problem is that the Wimpy Button is not the only thing sending a blank http referer. The http referer value is blank if the request is a URL type-in. So the users can simply type in the URL of the mp3 file and listen to and/or download the music.
--Michi


Reply With Quote
