I've written some fancy Flex app, which doesn't really require any server side integration.
Now if someone took that SWF and put it in their server then it will very well run.
What code can recognize that the SWF is not under my domain and stop from execution during startup? I don't mind making some server side calls just to do a check. But how can this be achieved?
Check out loaderinfo.url, it can do this for you. Here's an example on how it can be used to determine where the SWF is being loaded from.
So, you could detect where the swf is loading from, and if it's not from your server, block out the good stuff. :)
Good luck
Why don't you just watermark your app? But I think if someone steals your app, he would hack it too, to remove any protection.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With