![]() |
| | #1 |
| Registered User Join Date: May 2009
Posts: 13
| Load flash movies directly from any source (no temporary files) As known, Flash Player is always copying swf file from I-net before playing it. But how can we load flash movies directly from any source without usage of temporary files to protect this swf from any other outside access? |
| Poche is offline | |
| | #2 | |
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,099
| I highly doubt it downloads it before playing. No, it streams the file. In other words, it downloads pieces of information which is stored into memory, decoded and played back. No temporary files...
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| |
| Elysia is offline | |
| | #4 | |
| int x = *((int *) NULL); Join Date: Jul 2003 Location: Banks of the River Styx
Posts: 891
| Quote:
This is likely part of Flash itself, and there's probably not much you can do about it.
__________________ long time; /* know C? */ Unprecedented performance: Nothing ever ran this slow before. Any sufficiently advanced bug is indistinguishable from a feature. Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31. The best way to accelerate an IBM is at 9.8 m/s/s. recursion (re - cur' - zhun) n. 1. (see recursion) | |
| Cactus_Hugger is offline | |
| | #5 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| Are you asking "how can I build a browser that doesn't store the content on the disk", or "can I make the web-server stop the browser from storing content on the disk"? If the latter, you can't - it's entirely up to the web-browser [and it's plug-ins] to decide how to store things. You could probably, with a lot of effort produce a browser [or browser plug-in] that doesn't store the data in a file. Of course, neither solution is really effective against someone who really wants the content, as it still passes from your server to the local machine in some way, and that means that someone with a packet sniffer can reconstruct the content and store it somewhere, and then do whatever it is you are trying to prevent (e.g. play it again without paying, redistribute it elsewhere, etc). It may make it a bit harder than just copying files, but it's not rocket science. -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
| | #6 | ||
| Mysterious C++ User Join Date: Oct 2007
Posts: 14,099
| Quote:
If you don't want that - you need to disable the browser's cache. You can never really protect something that's publically accessible from the outside. Even if I disabled my cache, I could just use a http proxy debugger to find out the http request to get the movie.
__________________ Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System I dedicated my life to helping others. This is only a small sample of what they said: "Thanks Elysia. You're a programming master! How the hell do you know every thing?" Quoted... at least once. Quote:
| ||
| Elysia is offline | |
| | #7 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| Or set up another machine to be http-proxy and cache the files! -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
| | #8 |
| Registered User Join Date: May 2009
Posts: 13
| I’m trying to build an app, which should have a control (let’s call it Flash Video Player), which plays FLV from server (certain URL). If you trying to use some Flash Player ActiveX, you can find that for Flash Player ActiveX you have to save the movie to a temporary location to load it and play, isn’t it? You'll have to create a corresponding link that you can pass to the Flash Player ActiveX and then delete the movie after it is played. Of course you can’t guarantee high security level , but I think it’s good, if at least no temporary files are created. So the question is how to make Flash Player ActiveX be able to load flash movies directly from any source without temp files? |
| Poche is offline | |
| | #9 |
| Super Moderator Join Date: Sep 2001
Posts: 4,680
| Not to sound discouraging, but you can expect YouTube to have looked into this pretty thoroughly. Even so, you can get plugin's that break their copy protection in 2 seconds. With a bit of knowledge, you can do it by hand in under a minute. IIRC, temporary files aren't all that playable by themselves - I think the browser usually modifies them in someway, but I could be wrong. I'd be more worried about someone decompiling your controls (or viewing the source in any other way) and sending a direct HTTP request for the SWF. You could configure your server to not respond to an HTTP request for the SWF unless the request comes from your other control, and it comes very soon after the other control is downloaded. |
| sean is offline | |
| | #10 | |
| Registered User Join Date: May 2009
Posts: 13
| Quote:
| |
| Poche is offline | |
| | #11 |
| Registered User Join Date: May 2009
Posts: 13
| I think F-IN-BOX is the solution . It is able to load movies directly to the ActiveX thereby avoiding the temporary file step, protecting movies from unauthorized access. And Flash Video Player ActiveX ‘s DLL protection from decompiling can be implemented by BoxedApp Packer – discussed in “Protection of DLLs” thread. |
| Poche is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Request for comments | Prelude | A Brief History of Cprogramming.com | 15 | 01-02-2004 10:33 AM |
| Makefiles, Object files, Source files, OH MY! | Inquirer | Linux Programming | 2 | 04-29-2003 10:36 PM |
| using a class in multiple source files??? | Crossbow | C++ Programming | 9 | 06-18-2002 07:42 PM |
| linking source files | estranged | C Programming | 9 | 04-03-2002 06:38 PM |
| How to implement several source files? | Gades | C Programming | 3 | 11-21-2001 02:44 PM |