ActionScript 2.0 :: Better Way To Protect Php Flash Communication?
Jun 25, 2007
I have a flash interface that uses php to write/read vars.So if someone wants to hack our website all he has to do is look at the code and send some vars manually to the .php file. I've seen some encryption apps that claim to fully protect your swf but at the same time there are those who claim to decompile protected ones.Is there any better way to protect the php>flash communication?
I would like to protect my flash files. I would like to block any decompilers,protect actionscript and also protect graphics. Some time ago,I tried to decompile a swf and when I placed it inside a decompiler , it showed me a login form and no graphics.I believe that is the ultimate protection method.Do you have any idea what software can do that ?
I am developing a elearning site and we have developed our courses in Flash. I want to know how we can prevent our courses from getting download from our site. Technology used for developing website is ASP.NET with C#.
I have made many games is it any way that I can protect my swf from flash developers who want hack my game?First I was tried way load game swf's into preloader swf and call it by Iframe most flash developers just get only my preloader.swf unable to get game. now i am searching way that to protect swf from flash dicompilors???
Is there any "client side only" way to protect a SWF so it'd only be possible to load it from domain X? I'm aware of the server side options such as checking the referrer but unfortunately my server is a "static" CDN where this implementation isn't possible. I wonder why flash cross-domain security files do not seem to handle this scenario as well.
I'm working on important project using Flex framework and i want to keep my algorithms and code secret. Is it possible to somehow protect swf file from being decompiled? I don't want someone extract my code using flash decompilers.
Is flash the best bet to keep images from being stolen? Is there any way to steal images from websites that use flash to display images. I heard that we can use firebug to download flash images. Is this correct?
How would you be able to stop people from downloading flash video from your site instead of viewing it in a flash player. I would like to prevent people from downloading the flash video by ripping the stream. I am not looking for 100% prevention but ways to make this difficult and annoying.
I have been building an application using CS4. I currently load the swf file into a byte array of another swf to prevent easy access, but I have been told that this will not keep out more experienced users. How can I improve on my current method to best protect my code from being stolen?
I have used settings.xml file in my swf file. Now i am very sure, somebody can grab the swf file, decompile it and get the full path of the settings.xml file. If they can do that, they can see everything inside the settings.xml file which contains lots of thing. Now my question is how to protect that xml file from getting grabbed when typed the full URL. One solution is to ecrypt/obfuscate the swf file, but i don't trust them fully. If given a little time, I can myself decrypt the swf.
I need to protect images embedded in a swf file. I've noticed Swf Encrypt scrambles the images, like so:
How is something like this achieved ? How does image scrambling work ? I've noticed the image is stored a bitmap. Not sure how information is stored.I imagine it would be possible to use something like AS3SWF to access the content of a swf, but what would I need to change for the image swf tags ? I don't know much about security/obfuscation/encryption, so any tips will be handy. The programming language for this shouldn't matter much.
I have an alchemy compiled swc which contains methods to perform certain key algorithms. These methods should only return values only if user is authorized(bought license from online service) for security purpose. So I am planning to add another SWC on top of this, which have all the licensing code stuff. But when I import the Alchemy generated swc inside my custom swc, all the methods of alchemy are exposed.
I have flash player in my web site for playing the mp3 files.But if someone uses "viewsource" or any browser tools such as firebug, then they can find the parameter and then sort out the actual mp3 file url.I am using php in my back end.
I have a Flash file in which I want to embed a font, but the licence terms for that font mean I can only embed it in a file if that file is security protected to be non-editable. Assuming this means I need to take some sort of precautions to prevent the file being decompiled and the font extracted, is there any way of enforcing this?
Note: I don't care about the code itself being public, I just don't want the font file to be available.
I develop applications with Flash, AS 3.0 and PHP. I need to give the source code to my clients. But once I give them the source code they can also re-sell the applications to other people. So, I have deceided to use some code hiding process so that without my permission the application will not run in any server. In that case I am ready to keep informations in my server. Only my direct client will be able to run the file once they have registered their domain name and other info into my server.
I am making a screensaver and wondered if it is it possible to temporarily or dynamically password protect a Flash movie clip via a user input text field? For example, a user thinks up a password on the spot, types it in, hits a SET button and the mc cannot be disabled without re-entering the correct password. I am new to actionscript and from what I can find on Google it ooks as though the answer could lie in using veriables but i'm not sure how to implement this.
Currently I am using this code to hard wire passwords into my swf files before compiling them in SWF Studio: on (keyPress "<Enter>") { if (password.text == "password") { gotoAndPlay("mc"); } else { feedback.text = "INVALID"; }}
Is it possible to protect the broadcasted content from unauthorized copying users. In the demo version of FMS 3.5 for interactive broadcasting stream audio and video can be copied by means of such programs as Comtasia. This may not like the content holders. Perhaps there are some instruments of protection.
I recently made a mp3 player in Flash. I have an aspx page that has the mp3 player in it as well as a .net button which is disabled on page load. The .net page tells the audio player waht file to play and the player plays. What is supposed to happen next is when the audio player reaches the end of the file the button on the aspx page is supposed to become enabled. I am not sure how to do this [have Flash tell the aspx page that it is done playing].
I am not any kind of network programming pro, but it happened that I have faced necessity to develop socket-server on php (no way for using Java) for flash multiplayer browser-game (standard features like locations, team battles, etc).
The main problem is that TCP is point-to-point protocol and it completely occupies given port.Of course it is possible to create some kind of queue, which will manage connections to the socket, but this solution doesn't seems to be the fittest one.
It seems to me that using interval of "fair" ports (from 2000 to 2200, for example) is more fitting solution, because one request may take a lot of time to execute and players won't be happy to wait in queue.
But how can I implement this "port inteval" strategy?The solutions that I see are:
launcing php-script per every port (he-he, 2 hundreds of launched scripts!);somehow forking the initial process to new processes (2 hundreds of processed? Not nice too), one for every port;additional while-loop, which listens all the ports (looks very bad);using threading or something like that (the problem is that php is single-threaded, as far as I know; pcntl?).But somehow I don't like any of them, or at least don't know how to implement them in the best possible way.
What is the best existing strategy to handle multiple requests from multiple users per time unit without delays, and how to implement this strategy in php? We have our own Debian-server, so it is possible to use any required php extensions.
For example, if we are trying to develop chat application, we need some sort of fixed (I mean persistent) connections for each user. For example, we have 80 users in chat, and then one of them posted a message, which server tries to handle and send to all other connected users, also putting an entry to the history file or something like that.
In this situation polling server for new messages every 10 seconds from each of 80 users is craziness, so the need in persistent connection gets obvious.But I don't know what is the best way to implement something like this, considering that not all requests are handled instanlty.
I'm trying to implement a basic WebView containing a SWF file inside. The SWF file plays and apparently works fine. However I'd like to know if there's some way to retrieve an ActionScript variable from my Cocoa application.
I'm communicating from a flash application using a command like the following: ExternalInterface.call("hello", "world") This is handled on the C# end by something like:
[Code]...
The axFlash_FlashCal is called fine, as long as there is a textbox on screen that's set to use TLF text. (any textbox will do, no specific ID). Without the textbox the even will not fire. (Even though ExternalInterface.Avaliable is set to true) I've tried using CS4 and CS5 to publish, using both Flash 10 and 9 as output.
I am having in issue with IE passing a string back into an swf using the EternalInterface class in Flash CS4.I have an swf with the following code: var externalString:String = ExternalInterface.call("IncomingJS")which is inside an event listener attached to an Event.ENTERFRAME and an if statement waiting for ExternalInterface.available. [code]I am able to successfully get the externalString variable and procceed with the rest of the AS3 script in Firefox, Safari and Chrome, but not in IE.If I add in an alert (stringFromHTML) before the return statement in the Javascript, I get the value of the stringFromHTML spammed, which looks like Flash is firing the function at the right rate[code]Unfortunately, the HTML code is actually working within a 3rd party HTML generator, and one of it's limitations is that I can only have a single line (with unlimited length) of html at a time.Are the other options (swfObject etc) able to run either with no line breaks in the code, or would I be asking for trouble with Javascript and the SWF to, instead of embedding the SWF directly, use something like an iFrame and refer to a 'proper' flash delpoyment html file?
I'm doing some experiments with Adobe Cirrus. I've managed to connect 2 clients to each other. But what I want now is the following: I want client A to publish and clients B and C to play A's stream. I've tried to do this. A starts publishing, B and C create receiving NetStream based on A's nearID. Unfortunately only latest connected to A client can play A's stream.