How to prevent swf files being downloaded

People,
I'm a teacher and I have some animations made in flash language (swf). I would like to publish these animations on my web site so my students could see, but I wonder if there is any way to prevent these animations being downloaded.
Example: when I see an animation published on my web site, this animation is stored in Internet Temporary Files and I can save this animation anywhere. How can I prevent an animation is stored in the temporary folder? In other words, this animation can only be seen if the user is logged on the site.
Urgent!!!
Thanks.
Alyson

I think that's what I want. I found a site that has exactly what I need. It
is done this way too?
Plese take a look at http://www.edumedia-sciences.com/en/a559-scintigraphy
<http://www.edumedia-sciences.com/>
Thanks
2009/11/16 moccamaximum <[email protected]>
You could implement a kind of time-barrier, like in the trial versions you
download from softwarecompanys.
For the most users, that are not understanding actionscript and know how to
read the code, even if they decompile it, that would prevent the swf being
played after a certain date that you would have to implement in your code.
In AS2 the code would be like this:
>
var now:Date = new Date(); //reads the user system date
var release:Date = new Date(2009, 11, 16); //here goes the date, when you
want to have the program deactivated
>
if(now <= release){
   playSwf(); // here goes your normal code
>
else{
   doNothing();
>
Like the most TimeBarriers this could be easily circumvented if the user
sets back his system date, so do not give a message like "You trial period
has expired"
>

Similar Messages

  • Protect child SWF from being downloaded

    Hi, I've been struggling with this for a while and i cannot
    find how to do this....
    I have a main Flex app (main.swf) that load other pieces of
    content (content.swf, content2.jpg, etc...). I want those pieces of
    contents to be accessible only by using main.swf. I've tried to put
    my content outside the web root and access it in main.swf using an
    image container with the source :
    http://www.server.com/file?content.swf&key=secret,
    but anyone can access this string and download content.swf.
    So, how can i protect content.swf from being downloaded...
    Note that i cannot embed content.swf, content2.jpg, etc... since
    there will be too many files...
    Any help would be appreciated

    I'm going to throw this out there and say, simply, that you
    can't. Just the fact that someone is viewing the content means
    that's it's already downloaded to their system, albeit buried in a
    temp folder somewhere.
    I think instead of stopping someone from downloading it, you
    could find a way to stop it from working once it's separated from
    the web server it's currently deployed on.
    Someone please correct me if I'm wrong, of course...
    Jon

  • How to prevent excutable files run in the DOCUMENT_ROOT

    How to prevent excutable files run in the DOCUMENT_ROOT of the apache server?
    I just want it to run in /var/www/cgi-bin but not /var/www/html
    As far as I know, there is a module called SELinux in Fedora Core to protect the DOCUMENT_ROOT.

    I guess i just dont get it. chalk it up to a language barrier, or me not understanding...
    if you script is not executable (noexecute setting in apache, not in filesystem) then it shouldn't matter..
    if you do want at to be execute, but just want to control "where" it executes, you might consider running a chroot or something early in the script.
    and for gods sake..dont allow user input to ever determine a path or filename directly...
    /me shivvers

  • How to prevent a file from stripping?

    I'm building vacation for Arch64 but should be the same for 32bit. PKGBUILD looks like this:
    # $Id: PKGBUILD,v 1.1 2004/01/21 15:43:15 dale Exp $
    # Maintainer: dale <[email protected]>
    pkgname=vacation
    pkgver=1.2.6.1
    pkgrel=1
    pkgdesc="an automatic mail-answering program"
    depends=(gdbm)
    url="http://www.tosn.org/projects/vacation/"
    source=(http://www.tosn.org/projects/vacation/files/$pkgname-$pkgver.tar.gz vacation.patch)
    build() {
    cd $startdir/src/$pkgname
    mkdir -p $startdir/pkg/usr/{bin,man/man1}
    # keeps binary from building
    rm -rf vacation
    # fixing the Makefile - not only for arch64
    sed -i -e 's: -m486::; s:CFLAGS.*= (.*):CFLAGS += 1:' $startdir/src/$pkgname/Makefile
    sed -i -e "s:/usr/bin:$startdir/pkg/usr/bin:g" $startdir/src/$pkgname/Makefile
    mv vacation.man vacation.1
    make install
    These file have been created:
    [andyrtr@workstation64 vacation]$ ls -lRA pkg/
    pkg/:
    insgesamt 0
    drwxr-xr-x 4 andyrtr users 96 2006-01-28 09:32 usr
    pkg/usr:
    insgesamt 0
    drwxr-xr-x 2 andyrtr users 96 2006-01-28 09:32 bin
    drwxr-xr-x 3 andyrtr users 72 2006-01-28 09:32 man
    pkg/usr/bin:
    insgesamt 24
    -rwxr-xr-x 1 andyrtr users 16864 2006-01-28 09:32 vacation
    -rw------- 1 andyrtr users 470 2006-01-28 09:32 vaclook
    pkg/usr/man:
    insgesamt 0
    drwxr-xr-x 2 andyrtr users 48 2006-01-28 09:32 man1
    pkg/usr/man/man1:
    insgesamt 0
    [andyrtr@workstation64 vacation]$
    I get this error:
    ==> Starting build()...
    gcc -march=x86-64 -O2 -pipe  -Wall  -Xlinker -warn-common -D_PATH_VACATION="/var/abs/extra/system/vacation/pkg/usr/bin/vacation" -o vacation vacation.c -lgdbm
    install -s -m 755 vacation /var/abs/extra/system/vacation/pkg/usr/bin/vacation
    install -s -m 755 vaclook /var/abs/extra/system/vacation/pkg/usr/bin/vaclook
    strip: /var/abs/extra/system/vacation/pkg/usr/bin/vaclook: File format not recognized
    install: strip fehlgeschlagen
    make: *** [install] Fehler 1
    ==> ERROR: Build Failed.  Aborting...
    Krusader detects it as a Perl program. Any idea?
    AndyRTR

    Posted: Sat Jan 28, 2006 8:45 am    Post subject: How to prevent a file from stripping?
    I'm building vacation for Arch64 but should be the same for 32bit. PKGBUILD looks like this:
    Code:
    # $Id: PKGBUILD,v 1.1 2004/01/21 15:43:15 dale Exp $
    # Maintainer: dale <[email protected]>
    pkgname=vacation
    pkgver=1.2.6.1
    pkgrel=1
    pkgdesc="an automatic mail-answering program"
    depends=(gdbm)
    url="http://www.tosn.org/projects/vacation/"
    source=(http://www.tosn.org/projects/vacation/files/$pkgname-$pkgver.tar.gz vacation.patch)
    build() {
       cd $startdir/src/$pkgname
            mkdir -p $startdir/pkg/usr/{bin,man/man1}
            # keeps binary from building
            rm -rf vacation
       # fixing the Makefile - not only for arch64
       sed -i -e 's: -m486::; s:CFLAGS.*= (.*):CFLAGS += 1:' $startdir/src/$pkgname/Makefile
       sed -i -e "s:/usr/bin:$startdir/pkg/usr/bin:g" $startdir/src/$pkgname/Makefile
       mv vacation.man vacation.1
       make install
    These file have been created:
    Code:
    [andyrtr@workstation64 vacation]$ ls -lRA pkg/
    pkg/:
    insgesamt 0
    drwxr-xr-x  4 andyrtr users 96 2006-01-28 09:32 usr
    pkg/usr:
    insgesamt 0
    drwxr-xr-x  2 andyrtr users 96 2006-01-28 09:32 bin
    drwxr-xr-x  3 andyrtr users 72 2006-01-28 09:32 man
    pkg/usr/bin:
    insgesamt 24
    -rwxr-xr-x  1 andyrtr users 16864 2006-01-28 09:32 vacation
    -rw-------  1 andyrtr users   470 2006-01-28 09:32 vaclook
    pkg/usr/man:
    insgesamt 0
    drwxr-xr-x  2 andyrtr users 48 2006-01-28 09:32 man1
    pkg/usr/man/man1:
    insgesamt 0
    [andyrtr@workstation64 vacation]$
    I get this error:
    ==> Starting build()...
    gcc -march=x86-64 -O2 -pipe -Wall -Xlinker -warn-common -D_PATH_VACATION="/var/abs/extra/system/vacation/pkg/usr/bin/vacation" -o vacation vacation.c -lgdbm
    install -s -m 755 vacation /var/abs/extra/system/vacation/pkg/usr/bin/vacation
    install -s -m 755 vaclook /var/abs/extra/system/vacation/pkg/usr/bin/vaclook
    strip: /var/abs/extra/system/vacation/pkg/usr/bin/vaclook: File format not recognized
    install: strip fehlgeschlagen
    make: *** [install] Fehler 1
    ==> ERROR: Build Failed. Aborting...
    Looks like its tring to install to /var/abs/extra/system/vacation/pkg/usr/bin....... ????
    try make DESTDIR=$startdir/pkg/usr install

  • How to use swf file for Spark Skin

    Hi all
    I have little confuse about how to use swf file with Spark Skin,
    in Flex3 , i use Flex Skin Design Extension for Flash to deal with skin ,
    so basically , I just create a swf file and import to the project , then everything is ok
    but , seem that not working in flex4 , spark skin.
    1` I can't find the Flex Skin Design for the FlashCs4
    2` I try to use FlashCs3 version to import the skin art to the project , but seemed not working.
    3` I Google and check the Flex4 Help , seemed Spak skin need the Skin-Class , which I don't know how to use that with swf file
        what I have searched is how to use FXG , or some jpg file in that skin class, none of them are use swf file.
    so , is there any way that let user use the swf file to deal with the skin?
           is the Flex Skin Design can use in Flex4?
    Thanks

    Hello,
    I'm new to Flex, but have come to it from Flash Pro.  I'd like to know the same thing.  I think I found the answer here:
    http://www.flashallys.com/blog/spark-button-skinning-with-flash-symbols/
    However my question is now: Is this a good approach to use?
    99% of the googling I've done tells me to skin components with fxg files.  I've tried that by creating graphics and exporting from flash, but using swfs containing lots of graphics is much faster so I'd rather use that.
    The other thing I've done is to create custom components using these helpful tutorials:
    Creating component in flash:
    http://www.webkitchen.be/2008/12/12/video-tutorial-make-flex-components-with-flash-cs4/
    Dealing with Resizing with method overrides for your flash component:
    http://www.psyked.co.uk/flex/creating-flex-components-the-easy-way-for-flash-ide-converts. htm
    This allows me the flexibility of Flash Pro design with the layout, transistions, data binding etc from Flex.
    So my question is: Is this approach (skinning spark components with swfs, and using custom swc components made in flash) a bad idea for any reason?  E.g. does it create slow mobile apps?
    Cheers
    Chris

  • HT1338 trying to download mountain lion OS, but whenever the net connection is broken it restarts from zero, how to prevent this and start downloading from the point it was disconnected

    trying to download mountain lion OS, but whenever the net connection is broken it restarts from zero, how to prevent this and start downloading from the point it was disconnected

    Disable anti virus software and try turning off the Firewall in System Preferences > Security & Privacy > Firewall.
    Quit then relaunch the App Store. From the menu bar click Store > Sign In
    Then click Store > Check for Unfinished Downloads

  • How to make the stage transparent for SWF file being used in Dreamweaver

    I have a SWF file in my Dreamweaver site, that plays correctly. The problem is that the stage is white and we would like it to be transparent. Searching the archives the following advice was given:
    in your html embedding code you need to set the wmode parameter to be "transparent"
    I'm wondering if this is the code in Dreamweaver or is this done in Flash. I'm working with CS5. Below is the code that matches the SWF file in Dreamweaver. I did change the wmode value from "opaque" to "transparent" and it didn't work.
    Thanks for any assistance.
    Sherri
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="650" height="400" id="FlashID" title="Convergence Gathering Title">
                 <param name="movie" value="Flash/gold_dust_title.swf" />
                 <param name="quality" value="high" />
                 <param name="wmode" value="opaque" />
                 <param name="swfversion" value="6.0.65.0" />
                 <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                 <param name="expressinstall" value="Scripts/expressInstall.swf" />
                 <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                 <!--[if !IE]>-->
                 <object type="application/x-shockwave-flash" data="Flash/gold_dust_title.swf" width="650" height="400">
                   <!--<![endif]-->
                   <param name="quality" value="high" />
                   <param name="wmode" value="opaque" />
                   <param name="swfversion" value="6.0.65.0" />
                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                   <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                   <div>
                     <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                     <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                   </div>
                   <!--[if !IE]>-->
                 </object>
                 <!--<![endif]-->
               </object>

    Yes, change this to "transparent" in ALL the places where wmode is shown
    <param name="wmode" value="opaque" />
    Second, be sure that there is in fact nothing covering the entire stage, like a big white rectangle.
    Also, what is directly behind the .swf once it's on the Web page? If the background color of that page or the <div> that the .swf is in is white..... well then then .swf can have a transparent background but then the white from the Web page just shows thru.... so there's still a white background.
    Be sure there is a non-white background on the Web page...
    Window Mode (wmode) - What's It For?
    There are three window modes.
    Window
    Opaque
    Transparent
    By default, the Flash Player gets its own hWnd in Windows. This means that the Flash movie actually exists in a display instance within Windows that lives above the core browser display window. So though it appears to be in the browser window, technically, it isn't. It is most efficient for Flash to draw this way and this is the fastest, most efficient rendering mode. However, it is drawing independently of the browser's HTML rendering surface. This is why this default mode (which is equivalent to wmode="window") doesn't allow proper compositing with DHTML layers. This is why your JavaScripted drop-down menus will drop behind your Flash movie.
    In windowless modes (like opaque), Flash Player doesn't have a hWnd. This means that the browser tells the Flash Player when and where to draw onto the browser's own rendering surface. The Flash movie is no longer being rendered on a higher level if you will. It's right there in the page with the rest of the page elements. The Flash buffer is simply drawn into whatever rectangle the browser says, with any Flash stage space not occupied by objects receiving the movie's background color.
    Best wishes,
    Adninjastrator

  • Prevent SWF files from being decompiled back into FLA format

    Some programs such as Sothink SWF Decompiler may be used to
    decompile the SWF files back into FLA format. Even the ActionScirpt
    inside the SWF files can be decompiled as well! No one can even
    tell the difference between the original FLA file and the compiled
    FLA file! What can we do to prevent this from happening? I heard
    that we may protect the SWF files by using ActionScript Obfuscator.
    Is it true? How to do that? Please help, I must do something on
    it.

    Ng Jackie wrote:
    > Some programs such as Sothink SWF Decompiler may be used
    to decompile the SWF
    > files back into FLA format. Even the ActionScirpt inside
    the SWF file can be
    > decompiled as well! No one can even tell the difference
    between the original
    > FLA file and the compiled FLA file! How can we do to
    prevent this from
    > happening? I heard that we may protect SWF files by
    using ActionScript
    > Obfuscator. Is it true? How to do that?
    It's not true. SWF can't be protected.
    There are companies trying to sale products claiming they can
    protect SWF
    file, don't fall for that.
    In order to protect the file they jam the code and name of
    variables and functions.
    This however does not go w/o consequence. There is only how
    much you can mess the
    file up before the player will be unable to run it. Very
    risky games if you do that.
    One of the tools that was doing that, produced files which
    stop working with next
    player upgrade. From version 7 to 8. Than you just can't open
    it anymore.
    Secondly, as soon as such tool appear, the producers of
    decompilers provide antidotes.
    Upgrades with work around for the protection.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • New versions of swf files wont download automatically?!

    Let's say I have a main swf file. If I edit that and upload,
    chances are good that it will be re-downloaded on my client's
    browsers when they refresh. However, if that swf then loads a swf
    using "loadMovie()" that has been edited and uploaded, the browser
    (safari 2.03 / Firefox 1.5 on Mac or pc) will not go and get the
    latest version. It will display the cached swf file?!?! I have
    "<meta HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02
    GMT">" on all of the html pages to (I thought) force the browser
    to redownload all content, including all swf files.
    What can I do to ensure that external swf's loaded with
    "loadMovie()" get pulled from the server when they have been
    edited??
    This has been a thorn in my side for a while now. It doesn't
    happen all the time, but enough where it is extremely frustrating
    and embarrasing to try and explain to the client. I am using Flash
    Pro 2004 and am using "loadMovie("
    http://domain/path_to_swf",
    "_root.mc")" to load the external swf file.
    Thanks in advance!

    Interesting.  Could it be happening because I don't have the Flash Player installed on my Mac?  (Hadn't gotten around to that yet since buying this Mac, and wanted to research a bit first to understand this whole Apple vs. Flash issue...)
    So could it be that since I don't have Flash Player installed, a misconfigured web server is downloading the .swf file to my mac directly?
    Sorry if these are all stupid questions; I feel a bit stupid being so new to the Mac world.  But could this also be related to the news today of this flashback trojan?

  • How to import swf files into project

    I am new to flash programming. I have to make minor
    modifications to an swf
    file. I decompiled it to the fla file but all of the sprites
    which are
    themselves swf files did not end up in the fla file. how do I
    get these swf
    files back into the project so when I make the new swf file
    it will be the
    same as the original one?

    Hi
    I think 'Handbrake' will convert swf files used it for lots of converting but not tried it with swf recently, its available for free download just give it a google.
    Hope this helps

  • How to play .swf files ?

    I have some .swf files on my WIndows PC that I want to play.
    The instructions on a website said to:
    ". . . play your flash files using the Adobe Standalone Flash
    Player. For this you will first need to Download the Windows Flash
    Player 9 Projector content debugger from the Adobe Site [Freeware].
    There is NO installation needed. Just open the downloaded
    .exe and open your .swf from within the Projector.
    In order to associate all .swf files to open using the
    Projector, right click the .swf file and "Open with" option. Once
    there, choose the location of your Projector.exe and you are done."
    This worked ONCE. The next time I logged on, the computer
    could not play the files.
    I'm thinking that this is because the programs referred to
    were not running.
    So - how do I (i) find the programs on my PC and then (ii)
    create shortcuts so I can run them when I want ? I prefer not to
    have them automatically load at startup.
    Thank you.
    Bob

    Flash Player is a browser plugin. It's not designed to work as a standalone app for opening FLV or SWF.  The standalone player EXE is a different animal.
    Folks who don't own Flash Professional aren't going to have a standalone player.
    For windows users, the Standalone player installer is in the archived players technote here:
    http://kb2.adobe.com/cps/142/tn_14266.html
    However, it's not an application. It's just an EXE. You have to launch it, then use File> Open to open the local SWF.   You can also keep it on your desktop and drag/drop SWF content to it.

  • How to import swf files to FCPX 10?

    Hi! I need to import a swf to Final Cut Pro x10. Does anybody know how to convert it?
    Thanks!

    Hi
    I think 'Handbrake' will convert swf files used it for lots of converting but not tried it with swf recently, its available for free download just give it a google.
    Hope this helps

  • How to cache swf files via browser

    I notice that games on facebook ara caching lot's of swf files in browser temparary folder, I'm wondering how this is done, I'm new to web techs :> Somebody help? Thanks a lot.

    AndrewYuCWA1987 wrote:
    Thank U
    but what i attend to do is:
    - swf resource is need, and there're a lot
    - they're on the server first
    - when loading swf needed, access loacally file first, if there's none, get remote swf resource from server
    - after load from remote, cache swf files locally for the next application runs
    How can this be done?
    all the above happens by default unless a user clears their cache or has not browser cache- which you can't control.
    I met sand box issue when I apply URLRequest api, and I've looked into game's on facebook and other SNS platform, caching is the
    common way to build a game, there's a "loader.swf?v=XXXX" there, and if I copy it to file system and run it, surely it's doing URLLoading and trigger a sand box trouble like I do, but when it's applied in the browser, or say in the way it's originally used, it worked,
    So I doubt there's something I can do to implement the goal I've imagined, question is, how ) ;
    appending a changing query string (?v=XXX) to a url is a common way to prevent browser caching by making the browser think each of those swfs are different by virtue of the changing query string.

  • Firefox is preventing some files from downloading off the internet

    Today I had to go to the Dell website to update some drivers for my laptop. Every time I downloaded the driver file from the site to the download manager and then clicked on it to run, I would get a message that there was no file to download. The tech from Dell then had me download Google Chrome and the downloads went smoothly without a hitch. Something in Firefox is preventing the Dell files from downloading. I need instruction on how to correct this problem. I am also wondering why when I go to download files using firefox I do not get an option to run the file instead of save it. II only get the option to save it and then have to click on it from the download manager to run it. I would like to change this as well if possible
    Thanks,
    Maria

    It is possible that you run into this maximum (the default value is 20):
    * http://kb.mozillazine.org/dom.popup_maximum
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • How do you determine file being used in DVD map?

    Hi
    On older idvd projects I sometimes want to check what version of a movie file it is using. I can't figure out how to reveal the information. Specifically, I'm looking for exact name of file being used and its location.
    Thank you for your help
    Phil

    You can find that information from within the iDVD project. Open the iDVD project in question. Under the menu bar, select Project Info. You will then see a screen containing information about that project. There is a screen showing all the Media used, with the path to each movie, audio, or photo used in the project. The path begins with the drive on which the movie is located and then each folder/file.
    By the way, you do know that an iDVD project is like an alias collection. The actual media are not stored within the project, only information pointing to the actual media files. When you burn a DVD, iDVD gathers the media files temporarily for the burn.
    If you rename, move, change or delete any media used within a project, iDVD will be unable to locate the files and will not open properly. Many people have mistakenly saved only an iDVD project, deleting the original iMovies used in it, and have been sadly disappointed to find that the iDVD project no longer has the movie files.
    If you wish to save drive space but save your iDVD projects for burning later, you should create a disk image file by doing 'save as disc image' from within your iDVD project. This process looks just like a burn, and the encoding takes just as long, but the end result is a disk image file, not a burned DVD disk. The disk image file is self-contained; that is, all the media files used in the project are encoded into the disk image file. So now you have a disk image file of your project that can be saved, moved, used to burn DVD disks at any time.
    You can safely delete the original iMovie project and the original iDVD project without losing the capability of burning more DVDs of the project.
    I have disk image files of all the iDVD projects I have made. I store them on external drives as backups.

Maybe you are looking for