PDA

View Full Version : Determine serving host


tiaanwessels
02-14-2007, 04:10 AM
I want to force swf only to function if it is served by a specific host so I thought about hard coding a check for the serving host name inside the generated swf. How can I achieve this without an RPC to determine the host i.e. is there some global attribute predefined in any lzx app which gives the host name from which the app originated ?
Alternatively, anyone with some brilliant idea on how to force serving from a single host only i.e. prevent someone from saving swf and using it in another website ?
Thanks

notzippy
02-14-2007, 08:03 AM
_root._url == Your site