Hi, how can i stop accessing my website content [like image,swf,pages etc.] from other domain? suppose my server has a myflash.swf file in my server with live url http://www.mydomain.com/flash/myflash.swf . i want this flash can't be accased by any other domain using the live url. is it possable? thanks in advance.
A:
There is a HTTP header called referrer. It usually contains the site which request your swf to download.
When the Referrer value matches your domain name name, you can serve the content. Otherwise reject it.
Gopalakrishnan Subramani
2010-05-24 06:21:52