Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: File Protection and ActionScript |
| From: | John Croteau |
| Date: | Sun, 19 Dec 1999 00:52:59 GMT |
Hi Jim,
An easy way to prevent offline use is to send a token variable with the
original swf URL or use Load variables from a URL on your server.
1) Token with URL
score1.swf?needthis=717
This could be expanded to include Jim's _url technique and write the URL
with JavaScript or a server side page such as
score1.swf?browser=WinIE
score1.swf?browser=Other
2) You can do a Load Variables action from Flash using the complete URL
path assuming you block access to that page from sources outside of your
server (this can be done with all server software).
Load Variables("http://www.FlashBible.com/test.txt",0)
In all the cases you use the variable brought in on the URL or by Load
Variables to allow or deny access, you can further protect based on the
_url if not WinIE with Jim's technique.
My cod would look more like this:
SetVariable "source" = _url
SetVariable "URL" = "http://www.FlashBible.com/Score2.swf"
SetVariable "File" = "Score2.swf"
If((source eq URL) or (source eq File and browser eq "WinIE")
Begin Tell Target ("/startup")
Go to and Stop ("OK")
End Tell Target
Else
Begin Tell Target ("/startup")
Go to and Stop ("Reject")
End Tell Target
End If
--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteau
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
FLASH: Upper Case - Lower Case Detection, David Doggett
Replies
FLASH: File Protection and ActionScript, Jim Duber
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

