Okay guys....the light is on now for me
I was not clear on my objective...my apologies.
My concern is not that some visitor will take the SWFs and run them on some other
domain. The solutions that you all have provided would prevent that.
My concern is that they would run the SWFs on another server (same domain name).
Here is the full scenario.
1. I host websites on a dedicated box.
2. Each new client has his own domain,
www.client1domain.com, www.client2domain.com, etc that they own and control.
3. I design flash sites and host them on my server.....same shared IP for all clients. Clients pay for their sites over 3 payments.
I want the SWFs to only be able to run on my server....the shared IP. If the clients take the SWF and move their domain names (which won't change) to another hosting company I want to render the SWFs inoperable...unless, of course, they have completed their payments.
Now, I thought of a solution a few hours ago.
Similar to the URL check, could I possibly check for a variable that is in a MySQL database (localhost) ....if that database is not available (i.e. the SWF is being run on another server) then the SWF stops?...as in Splict's example.
Green text shows what was edited on March 6th, 2004