Swf streaming or preventing caching

Folks
I have swf files generated from Captivate - I want to stream
these to prevent browser caching and conceal original file location
Can anyone point me to sample files or notes on how to do
this using Flash media server?
I have managed to glean that it might be posible - swf file
on web site connects to asc file on Flash media server which then
gets the actual swf from location on web server and serves it via
Flash media server to the client - but I need to see an example
Looking for either free or fee source
Regards
Steven

FMS does not serve .swf files... only flv and mp3. If you
want to conceal the server path to the .swf, I suggest you use an
application server (like ASP or PHP) to act as a proxy between the
user and the .swf
For the caching issue, you can give the .swf nocache headers
(again, you'd need an application server for that), but honestly,
there is no foolproof way of protecting .swf content or preventing
people from downloading it for themselves. The best you can do is
create a lot of hoops for people to jump through in order to get
there.

Similar Messages

  • Preventing caching of pages

    Hi,
    I'm having a problem preventing my jsp pages from caching.
    On my jsp page I have an ordimage object in a table, the source of which is the url of a servlet which serves up an image. If I navigate to a new page and on this page change the image of a record in the table, then return the initial page the image has not been updated until I press f5 to refresh the page.
    I've added the following meta tag to the page header:
    <meta http-equiv="PRAGMA" content="NO-CACHE"/>
    ... but still get the same problem.
    Any thoughts would be greatly appreciated.
    Thanks,
    Dave

    Hi, thanks for getting back to me.
    I've tried setting the header tags as follows ...
    <afh:head title="View Product Images">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Cache-Control" content="must-revalidate" />
    <meta http-equiv="Cache-Control" content="must-revalidate" />
    <meta http-equiv="Expires" content="Mon, 8 Aug 2006 10:00:00 GMT" />
    </afh:head>
    ... but this still doesn't seem to be preventing caching.
    Is the above okay or do I need to set them by doing response.addHeader (or response.setHeader).
    I seemed to be unable to add code of the form:
    <%
    response.setHeader(“Pragma”, “no-cache”);
    response.setHeader(“Cache-Control”, “no-cache”);
    %>
    it gave a compilation error, I assume this is because I am using a jsp document rather than a jsp page? I am very new to jsp's and up until now have avoided writing any additional jsp code, relying entirely on that generated by dragging jsf components onto the jspx document so any help would be greatly appreciated.
    Thanks,
    Dave

  • Prevent caching of JARs

    Dear Friends,
    somtime I actualize my JAR-Files.
    And I don't want that the user has to delete his java-Cache, etc. - That's not acceptable for that group of users.
    How can I prevent caching of my JAR-File?
    The JAR is only 70 kb big and wouldn't disturb.
    Well, actually I use a meta pragma nocache - but does that really help?
    Is there a secure way to prevent the caching to the harddrive (after a browser-session) ?
    Thank you!
    With best regards
    MfG
    Inno

    Dear Friends,
    somtime I actualize my JAR-Files.What is that trying to say ?
    Does your jar have feelings and dreams - is it trying to better itself ? (Sorry I couldn't help, just did a psych test ;-P )
    In all seriousness it would help if you explain what type of program this is, what you mean by caching jars, and why it is an issue.
    And I don't want that the user has to delete his
    java-Cache, etc. - That's not acceptable for that
    group of users.
    How can I prevent caching of my JAR-File?
    The JAR is only 70 kb big and wouldn't disturb.
    Well, actually I use a meta pragma nocache - but does
    that really help?
    Is there a secure way to prevent the caching to the
    harddrive (after a browser-session) ?
    Thank you!
    With best regards
    MfG
    Inno

  • Prevent cache of local xml?

    Anyone know a way to prevent caching of local xml files? I am testing an app, and keep making changes to my xml - which don't show in Flash until I close and start over - a real pain. I can prevent caching when on the server, by setting the request headers, but this doesn't work locally.

    sorry, just me being daft this morning.

  • WLS 5.1 and prevent caching on cache server

    Hi,
    Is there any method to prevent caching for *.jar files or any other
    static resources on client side cache server ?
    It seems to be possible by making filter programs that insert
    statement <meta http-equiv="Pragma" content="no-cache">
    into http response header if using WLS 7.1
    but we are using WLS5.1 SP13.

    I'm running native io. How would I use green threads with jdk1.3?
    I didn't think I could.
    thanks,
    lisa
    Chris Shipman <[email protected]> wrote:
    are you runing native io, or running green threads? try
    green threads.
    Lisa Klag wrote:
    I'm having problems getting WLS to run under JDK 1.3.I keep getting
    the following exception:
    Tue Feb 27 15:55:00 GMT+00:00 2001:<A> <SSLListenThread>ListenThread.run()
    failed:
    java.lang.UnsatisfiedLinkError: /opt/weblogic/5.10/lib/linux/libweblogicunix1.so:
    /opt/weblogic/5.10/lib/linux/libweblogicunix1.so: undefinedsymbol:
    makeCString
    at java.lang.ClassLoader$NativeLibrary.load(NativeMethod)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.platform.Unix.<init>(Unix.java:14)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.platform.OperatingSystem.getOS(OperatingSystem.java:77)
    at weblogic.t3.srvr.T3Srvr$1.run(T3Srvr.java:1160)
    at weblogic.t3.srvr.Callback.done(Callback.java:37)
    at weblogic.t3.srvr.SSLListenThread.newServerSocket(SSLListenThread.java:474)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:245)

  • Urgent Help - Preventing Cache in Flex 3

    Hi all,
    Am new to this forum and i have a query which needs to be fixed urgently. Actually Flex 1.5 supports <cache> configuration variable in flex-config.xml which can be used to prevent client-side caching. But I suppose Flex 3 doesn't support the <cache> configuration variable, as am getting compilation error as 'unknown configuration variable compiler.cache' . Could any one please help me out with this? And also please suggest any ideas for preventing client-side caching. Also is there any other relative terms to <cache> configuration variable in Flex 3?
    I had referred the below url regarding the <cache> variable in Flex 1.5 , http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?co ntext=LiveDocs_Book_Parts&file=performance_118_13.html
    Thanks in Advance.

    Thanks a lot for the response.
    Actually i heard that using <cache> seems to be easy, where in  we could specify even the content-size to get cached (if we require) and also it just requires us to add something like <cache-mxml>false</cache-mxml> which will prevent the caching.
    And i have already tried appending the random number to the url. In the link provided by you, what does the swfObject refer to. I mean i couldn't find any reference to the object.
    Am trying like this,
    In index.template.html
    AC_FL_RunContent(
    "src", "${swf}?url="+Math.random(),"width", "${width}","height", "${height}","align", "middle",.........)
    Please guide me thru'.
    Thanks again

  • SWFLoader caching.. how can I prevent caching of content?

    Hi,
    I am trying to prevent my SWFLoader from caching the SWF file it is loading. I have tried:
    SWFLoader.cachePolicy = "off" and no luck
    SWFLoader.unloadAndStop = no luck
    SWFLoader.load(null) = no luck
    SWFLoader.source = URL + "?cache=" + new Date().getTime();   = no luck
    I am using Flex 3.5 with FlashPlayer 10
    I think I am out of ideas at this point. Any help would be greatly appreciated.
    Thanks.

    private function menuHandler(event:MenuEvent):void {
         resourceSWFLoader.source = event.item.url;
    very straight forward. It loads the first time but when the value of source changes it keeps loading the same url. I have stepped through the code and the value of url is correct, but the SWFLoader is still loading old value.
    Thanks.

  • Do shared photo streams have a cache limit or revolving cache?

    I stopped using shared photo streams a few months ago because I noticed that the photos were stored locally on my phone and in iCloud. When I checked my storage usage in settings I noticed that 500mb+ was taken up by the shared photo stream storage. I have since started using Flickr, but miss the convenience of shared photo streams to create quick albums.
    Does anyone know if there is a revolving cache that limits the data that shared photo streams store on a device? If shared photo streams start to replace its own data after 500mb I'd be happy to give up that space for convenience.
    Does anyone know if there is a cache limit to shared photo streams, and if so, what that limit might be, and if it is revolving?

    All photos that you want to share to a stream have to be kept on your device as well for syncing with iCloud. There are limits to how many photos you can share to the shared streams, however. See:
    iCloud: Photo Stream limits

  • Preventing cache in IE

    Hi,
    I am trying to find a solution to prevent IE from caching the .PDF files. I tried diff ways by using meta tags n the stuff like that but nothing seems to be working for me. Please let me know if there is a way to prevent it from saving in the temp internet files in IE. I am working on an application which fetches some pdf files from the server and it shudn't be saved in the clients system cuz of security reasons.those files are very sensitive, so i am trying to find a way to just display it n delete the files in client machine the moment he logs out.ur help will be appreciated. thanks in advance
    Krishna

    You kind of have a problem.
    I don't have a guaranteed solution for you, but I think once you send the PDF file to the client, the file is well, sent and you have no control over it.
    Internet Explorer treats PDF the same as a Microsoft Word document, that is, it recognizes that there's a specific application required to open it, and passes the PDF file in its entirely to the application. For example, if the file is classified.pdf, the browser essentially goes to the shell and calles "c:\adobe\reader\reader.exe classified.pdf".
    Similarly, if you tried a different file format and Internet Explorer is able to display that file natively, the client can view it, and to some extent, save it, or cut and paste the contents of it.
    You can use JavaScript to block some actions, but in that situation, you have to block every action you can think of as opposed to writing one generic rule and expecting IE to respect it.
    There are solutions, but they do involve software that circumvents IE. It is theoretically possible to write an Applet that will do the trick, but you'd need to install the right security managers on each client's desktop. Or a stand alone desktop application. Or a secure version of Acrobat. Or... And so on.
    There's no easy way to allow someone to view a document, but not make a copy of it in some way. The next version of Microsoft Office is supposed to alleviate this somewhat, but you need special server software to do it.

  • Swf file stays in cache and used in additional visits?

    If I have 5 HTML pages, each with the SAME swf embedded in them (..and that swf has a preloader sequence at the start that cycles through a LOADING sequence, before continuing on with the rest of the movie, if all the frames are not loaded yet...), will visiting one of the other pages (after viewing a first one) result in the swf embedded in it to skip the preload sequence (since it would already be loaded in the browser cache), or would it have to load all the frames again, each time you visit one of the pages?

    Darn... Still having issues.
    My swf is structured like this:
    Frame 1: Blank... Checks if all frames loaded (to detect a revisit).  If so, jump to 'Loaded' label
    Frame 2: ('Preloader' label): Display preloader background and percentage display.  Check if all bytes loaded, if so jump to 'Reveal' label
    Frame 3: Go to 'Preloader' label
    Frame 4 ('Reveal' label): Main content appears in layers below  preloader background, preloader background slides away, revealing them.
    Frame 20 ('Loaded' label): Unobstructed main content
    Theory here would be that on the first load, the preloader would kick in if needed (showing the load progress), then sliding away to reveal the main content.  If the connection is fast enough, it skips right up to the main content (no preloader screen or transition).  On return visits, since all pages are using the same swf (which should now be stored in the cache), all the frames should register as loaded, and so you just go straight to the unobstructed contect.
    A few flaws with that theory...
    1) Since the initial 'frames loaded' check is on the first frame, it would probably never register as having all frames loaded (unless you have a ridiculously fast connection).  Only time it (in theory) would work is on a revisit...
    2) ...which brings me to a newly discovered flaw in my logic.  Even with the swf in cache, it still needs to be 'loaded' (...it's just a lot faster than from the Internet... but nonetheless a non-instant 'load').  So, I would think now that you'd never get the initial 'frames loaded' scan seeing 'all frames loaded'.
    Ugh....
    Only solution I can think of is to extend the initial 'blank frame' (frame 1) to a few frames duration, and putting the initial 'frames loaded' check at the end of that, allowing a highspeed connection to fully load the cached swf by the time the inital check is performed..... but that would give you a longer gap before something appears...
    So, now I either have the preloader just 'pop' away (without a nice transition out)... or live with the preloader background appearing on entry of the page, and transitioning out.  I could actually live with the traditional 'door opens on arrival, door closes on leaving' routine... if only the main content actually changed in some way (justifying the doors closing).... But, since it's the same swf being used each time, the content is identical.
    Just looks like I'll have to accept a compromise of one type or another...

  • Why don't .swf files seem to cache on a browser?

    I'm using Safari on Mac OS X 10. I've got a 3 mb .swf on a
    web page. It seems that if I hit a "refresh" on the browser, it
    loads the whole thing from the beginning, with the progress bar and
    everything. I don't have anything set to clear the cache as far as
    I know. Is this normal?
    What I'm trying to do is have a movie that shows a bunch of
    operating screens from some software as different frames that you
    can navigate to, like a virtual version of the software. I had
    hoped that once the user had already loaded the movie, that i could
    provide URLs (in other web pages) that link directly to various
    pages of the movie using FlashVars. This works sort of, but it
    reloads the entire movie from the beginning with each different
    URL. Is there some way to keep the movie in memory so that this
    doesn't need to happen?

    The standalone Flash Player (Projector) is not updated with the Flash Player browser add-ons; you need to download the latest standalone player manually from http://www.adobe.com/support/flashplayer/downloads.html

  • Preventing cache in all browsers.

    Hi all,
    To prevent browser cache I have added the following code
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="max-age" content="0">
    in one of my jsp(sample1.jsp). This JSP is included in all the other JSPs.(sample2.jsp,sample3.jsp)
    The sample2.jsp have a link to sample3.jsp. The sample2.jsp is reloaded everytime I click the tree option.This tree node points to sample2.jsp.
    The sample3.jsp is not loaded eveytime I click the link.(sample3.jsp?name=David- the value link in sample2.jsp)
    Can anybody suggest me to solve this?

    Here is one set of magic spells I picked up somewhere:
            response.addDateHeader("Expires", 791589600000L); // Wed Feb 01 00:00:00 EET 1995
            response.addHeader("Cache-Control", "no-store, no-cache, must-revalidate, post-check=0, pre-check=0");
            response.addHeader("Pragma", "no-cache");Those should cover reasonable browsers, as well as most versions of Internyet Explorer. I don't know if those work with <meta http-equiv=...>, you could try.

  • Prevent caching of loaded images...

    How do I prevent Flash from caching loaded images?
    In my app a user make a change to an image and saves it back to the server as the same name. Flash then reloads the section and the new image should be reflected. However, it is not. The image looks fine on the server and is updated on the server...

    Perfect, thanks. I just created a date and used the get time method and a
    dded it to the string/link of the image. .....png?12345678787
    Works like a charm!

  • How to prevent caching?

    the browser caches the information and so i have to do a refresh every once in a while to update the dynamically changing information.

    hello
    it kinda doesn't work
    you see, i have links sorted according to the number of hits.
    This is how it looks like for example
    Link1
    Link2
    Link3
    Link4
    now if lets say Link2 has 10 hits and Link3 has 9.
    If i click Link3, then the hits become 10 and if i click it again, it becomes 11.
    but it still looks like above when its supposed to be
    Link1
    Link3
    Link2
    Link4
    it doesn't show the right order until i refresh the page.
    and the thing is, if i don't refresh the page, then when i click Link3, it shows the url of link2....

  • How to prevent caching of URL?

    Hello,
    I have an application developed using Flex SDK 3.2 that calls a java servlet using navigateToURL. The servlet returns a generated PDF file, but after the first call the response is getting cached. I'm not sure if this a problem with Flex, Java or Tomcat. I have tried setting response parameters in the servlet (seHeader("Pragma","no-cache")) etc and tried a similar approach in the client - new URLRequestHeader("pragma", "no-cache");.
    Anyway, no matter what I do I can't stop the caching and I;m hoping someone can help.
    Thanks.
    JJ

    You can append the random number to the url something like this
    var str:string = "http://someurl.com?rndm="+Math.random()*100

Maybe you are looking for

  • How to change font size of lyrics in iTunes

    I pasted Arabic lyrics onto the Lyrics tab of a song.  However, the font is too small to read easily. Can someone please tell me how to change lyrics font size?

  • Will Photoshop CS6 work with Snow Leopard or must I upgrade to Mountain Lion on the Mac Book Pro?

    I will be purchasing PhotoShop CS6 & installing on my Mac Book Pro. Adobe tells me that I should upgrade to Mountain Lion from Snow Leopard in order for it to work best. Any thoughts on this? Thank you, Paul

  • Where clause with substr for a update statement

    Dear Reader, Currently I am working on a package that will update a value in a column, this column always has a default value of 9999 and is named STATUS_FLAGS In my package I need to update this column's value for instance into 9919. Where 1 represe

  • Mobile phone not able to connect to my laptop

    On trying to connect my phone to my laptop it shows message as "Pairing update needed" and later shows "pairing failed". I have installed the bluetooth and lan driver you had sent earlier. Also, i have recently changed my hard disk with a new one. Al

  • "remote" or "disjointed" rollover

    I've figure out a workaround for remote or disjointed rollovers but if anyone has a better way I'd love to hear it. I used the ToolTip widget, eliminated all but one Tooltip, then deleted the text from that box that was left, and replaced the image w