flash "security" question
- Started
- Last post
- 8 Responses
- kerus0
i guess i forgot to mention the "key" file will be hosted on my own domain, not theirs. common sense.
it's still completely easily sidestepped, but this isn't meant to be a weapon, just a hiccup
- kerus0
great stuff thanks a ton guys.
i was having problems using a simple xml loader script..
i added a frame to the beginning of the movie to put the action so it would look like it just stalled out if it fails
but load or fail it was still going to the next frame and playing the file as normal..ill check the links you sent, thanks
im not trying to hold their file hostage here, but if they don't pay me i want some sort of leverage. then when i have been paid i will send them over the "clean" file and no one will know the wiser...
- silentseven0
You could try this
http://www.esecutech.com/flash-p…or a class that allows certain domains that are in an external class file. and if that is not found it displays a message of "this site is down due to..."
- skelly_b0
or if you want to make it simple as you write have it check for that XML before loading. If it's not there route them to an error message.
If you want to it to constantly check put it on a timer to check every minute or so. If it ever fails stop the action and load that error message. This constant checking may become a problem for performance.
- kerus0
blammo for future reference
function loadXML(loaded) {
if (loaded) {
gotoAndPlay(2);
} else {
trace("file not loaded!");
}
}xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("key.xml");stop();
- maximillion_0
you can also use a 1px x 1px gif and try to load it, if its not there it all fails. this means less load for your server and the load it quick. I would make sure your swf is encrypted tho as most decompilers give out pretty much everything .
check out SWF Encrypt - www.amayeta.com/
- ornj0
probably want to put something specific in the file or people can just emulate it. Not that smart people wouldn't notice that and then just copy the file from your server. An exercise in futility...