upuaut8
July 23rd, 2001, 07:18 AM
Well I just had a brain storm this morning and for some reason came up with something really interesting which I don't believe I've seen discussed anywhere. Likewise, for us making secure sites with flash, it's vital.
Many people are starting to create lock systems in flash which prevent a viewer from entering without the proper code. Now in order to accomplish this, one would need to use the code in their html, which would illiminate the menu when a visitor "right-clicked" on the swf, because there is a play option on the menu which will cause the movie to play regardless of the stop command which is holding up the swf.
I don't think that people are thinking about this. If I were to visit the site, and do a "view source" on the html doc, I would have the literal address of the swf file. With that in hand, I can pull up the swf in it's own window, which would not have the special code in it preventing the menu right-click.
I've already tried this on a couple of flash security locks and I've gotten through.
The cure for this is actually simple.
In your flash, place an extra frame after the one with the lock.
The lock should be set, so that when the user enters the proper combination it moves the play head two frames ahead instead of one.
In the extra frame you've added, place a/s which tells the play head to go back to the beginning.
If this doesn't make too much sense, just say so and I'll try to explain it better.
Hope I've helped someone. :)
Many people are starting to create lock systems in flash which prevent a viewer from entering without the proper code. Now in order to accomplish this, one would need to use the code in their html, which would illiminate the menu when a visitor "right-clicked" on the swf, because there is a play option on the menu which will cause the movie to play regardless of the stop command which is holding up the swf.
I don't think that people are thinking about this. If I were to visit the site, and do a "view source" on the html doc, I would have the literal address of the swf file. With that in hand, I can pull up the swf in it's own window, which would not have the special code in it preventing the menu right-click.
I've already tried this on a couple of flash security locks and I've gotten through.
The cure for this is actually simple.
In your flash, place an extra frame after the one with the lock.
The lock should be set, so that when the user enters the proper combination it moves the play head two frames ahead instead of one.
In the extra frame you've added, place a/s which tells the play head to go back to the beginning.
If this doesn't make too much sense, just say so and I'll try to explain it better.
Hope I've helped someone. :)