I would like to know how I can stop other webmasters from hotlinking my flash application and using it on their websites.
相关问题
- Should I wait for Flash Player 10.1 or go with Fla
- How to load flex swf from flash?
- Setting Page Title from a SWF
- Security Sandbox Violation
- Get the print screen image from the clipboard
相关文章
- as3 ByteArray to Hex (binary hex representation)
- getElementById not working in Google Chrome extens
- Libraries for text animation in Flex / Actionscrip
- How to upload BitmapData to a server (ActionScript
- Persistent connections between Flash client and Ja
- How to embed a swf file into html code?
- how to generic .htaccess to prevent hotlink
- Web player to use with SHOUTcast
Have the flash app check the domain and if it fails to be on your domain make it redirect to your site. Let the other webmasters drive traffic to your site. :)
I use a switch statement to detect this, because if you are testing your app and running under the local file system it will be localhost and obviously you don't want to redirect during testing
The easiest way to do this is to have your web server code check the HTTP Referer header and block the download if it's not from your site. If you tell us which server-side platform you've got, we may be able to give you a more specific answer than that.