Hotlink Protection & External Scripts

#1
Hello,

I've enabled "hotlink protection", disabled "allow direct access", and enabled "only self reference". For the most part, this works great. But I'm having issues with Flash files that request other files (i.e. I have a swf that requests an external XML config file, or a Flowplayer instance that requests the Flowplayer.audio.swf)--since the referrer on these isn't local, I'm guessing. Is there a way around this?

Thanks!
 

mistwang

LiteSpeed Staff
#2
You may have to use rewrite rule to check referrals and add exceptions in the rule. The built-in "hotlink protection" wont be able to do what you need.
 
#3
I have a small issue. I did the same what the topic-starter did but hotlink protection is not working for me.

Enable Hotlink Protection: Yes
Suffix: flv
Redirect URL: Not Set
Allow Direct Access: No
Only Self Reference: No
Allowed Domains: domain of a main site i.e where I embed the flv video.

this is a special vhost aka subdomain named s1.sitename.com that serves flv videos.

Any ideas? Thanks.
 
Top