May. 23, 2008Paul R.
I can use a .htaccess file to prevent other sites from hotlinking to my media files through conventional means, but they can still hotlink via an SWF file, such as a Flash player. How can I prevent ALL other sites from hotlinking through SWF files (not just Jeroen's, but all of them)?
I first found out about this type of hotlinking when one of my files was hotlinked by Playlist.com. I've set up my own page to test it out for myself (and to also know when a "cure" works): http://1shop.bravehost.com/222.htm
I'm testing out a few different hotlinking methods on this test page. The SWF hotlinking test is at the bottom, right below the "MP3" text.
On this test page, I have a SWF on another site (1shop.bravehost.com) linking to an MP3 on my Ghostbusters site (www.ecto-web.org/~spookcentral/) and as you can see, there's no problem playing the MP3, though a direct link to the same MP3 is rightfully denied.
Ideally I'd like to find a cure that not only works with Playlist.com, but I'd want to set it up so that it would prevent ALL sites that aren't mine for hotlinking to my media files through ANY means.
May. 24, 2008chaz
best way is to change the folder name and not allow a folder scan. Draw back is u need to change the playlist url's
prevent a folder scan on your directories.
the flash player hides the underlining URLs
May. 27, 2008Paul R.
I don't understand what you mean by a "folder scan". Besides, all of my media files are in the same directory as my html files.
May. 30, 2008Paul R.
So, can anyone explain if it's possible to stop the hotlinking from other site's SWF files?
Jun. 16, 2008JeroenW
I haven't seen a way to do this yet...
Oct. 15, 2008Mario Bernheim
http://www.jeroenwijering.com/?thread=13350
Nov. 07, 2008Matt Montag
I would follow chaz's advice; disable directory indexing in your htaccess and move stuff from its current location to kill those existing links is the best option.
I played around with .htaccess because there really should be a pattern in the HTTP Request headers originating from Playlist.com and other SWF leechers, but it was difficult to test so I just went with the simple technique chaz described.
Jun. 12, 2009fcgdfgh
xfdhdfh
Oct. 27, 2009WebbyG
i have a question...in flash style
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.