-
Prevent SWF from running independently of html page
I'm using something called Sentry Login to 'protect' my website's pages, but how can I write code into my SWF that prevents it being run just by entering its address into the browser's address bar - i.e. bypassing my login stuff on the html page?
-
Solved it myself!
I have used loadvars in my html script that passes a variable to the swf if the user is logged in. I have placed a movie clip to cover the flash content (with a message!). If the swf receives the appropriate variable from the html page, the movie clip becomes invisible - revealing the content. Obviously this does not make my swf 100% secure but it's probably good enough to deter the casual user who tries to circumvent the log in process.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|