iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Visual Design > Flash and ActionScript

Reply
 
LinkBack Thread Tools
Old July 3rd, 2008, 04:20 AM   #1
Reputable Member
 

Join Date: Mar 2005
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Posts: 254
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Donny Bahama is on a distinguished road
Any way to prevent caching/protect SWF file?

I created a presentation using a (great/free) app called Wink that exports as .swf. Now, I need to send links to some very significant people so they can view the presentation. I need this to be a very secure thing. I plan to address logins, session IDs, etc. in php.

But the one thing that concerns me is that no matter how secure I make things server side, the .swf file will end up in the client's cache. Is there any way to prevent this? Keep it from downloading? Make it self-destruct? Overwrite it?

PLEASE HELP!
Donny Bahama is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 3rd, 2008, 06:16 AM   #2
Reputable Member
 

Join Date: Sep 2007
Location: Tehran - Iran
Age: 30
Posts: 432
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Rep Altering Power: 0 marSoul is on a distinguished road
Re: Any way to prevent caching/protect SWF file?

There are some ways, one way is to add a random number in the end of the url, for example : http://www.mysite.com/myswf.swf?4353 , it will make browser to download it each time. you can generate random number in flash.

Adobe describes other way in this tutorial :
http://kb.adobe.com/selfservice/view...4743&sliceId=1

This tutorial has some methods too :
http://www.permadi.com/tutorial/flashcache/index.html

hope they help you...
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

marSoul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 3rd, 2008, 04:59 PM   #3
Reputable Member
 

Join Date: Mar 2005
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Posts: 254
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Donny Bahama is on a distinguished road
Re: Any way to prevent caching/protect SWF file?

Thanks for the response! I can't use anything that involves modification to the Flash source. The .swf file is being created for me, and I have no Flash dev environment. I found this php code:
Code:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0"false);
session_start();
header("Cache-Control: private"); 
which is supposed to be effective in preventing caching, but I have yet to test it. Another possibility would be to have a second flash file as a wrapper, and have it call the main file, but I'd have to have someone write that for me.
Donny Bahama is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 3rd, 2008, 05:06 PM   #4
Reputable Member
 

Join Date: Mar 2005
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Posts: 254
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Donny Bahama is on a distinguished road
Re: Any way to prevent caching/protect SWF file?

It's been suggested to me that the biggest problem I'll have is preventing people from saving the .swf. Can anyone comment on the feasibility of the "wrapper file" method I mentioned above?
Donny Bahama is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 3rd, 2008, 06:37 PM   #5
Reputable Member
 

Join Date: Mar 2005
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Posts: 254
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Donny Bahama is on a distinguished road
Re: Any way to prevent caching/protect SWF file?

Well, it looks like I'm off to a good start... http://ryanfait.com/resources/protec...from-download/
Donny Bahama is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
cache , cached , caching , prevent , protect


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE Caching issues deepman007 Your Design and Layout 11 June 11th, 2008 02:36 PM
Firefox not caching! CloudedVision The Café 6 April 7th, 2008 09:09 PM
Preload and caching of externally loaded JPGs hip Flash and ActionScript 5 November 8th, 2006 10:49 AM
prevent refresh in asp simonneaves Classic ASP 2 October 10th, 2005 06:04 AM


Search Engine Optimization by vBSEO 3.2.0 RC8