ActionScript 3.0 :: Protection For Memory Values?
Oct 15, 2010Is there any way to protect against hackers that load up swf and modify values in memory?
View 6 RepliesIs there any way to protect against hackers that load up swf and modify values in memory?
View 6 RepliesIf I send remote data from Zend_Amf to Flex, if two array properties on the object have the same data values they are deserialized at the remote end with the same memory storage.Example: AS3 object:
Snippet:
[RemoteClass(alias="TestVO")]
public class TestVO
[code].....
I have a bit trouble with LoaderMax memory occupy, i have a queue, and i am keep loading images depend on user's action. if they click load more and it keep load, but i would like to clean the memory which been occupied by the previous queue (i have remove all the children been added by the loading previously). is there a way i can do it? the behavior like this.
[Code]...
I have an FPS monitor running and notice that I am getting choppiness here and there, bringing my game from 40 to 27 fps and back and forth at certain stages. I have an idea of where it is happening, but do not know for sure. I looked up quite a few memory monitors but haven't found anything decent yet. Is there a memory monitor that allows you to see the memory leaked and find its location? If not, how about just he memory leaked?
View 4 RepliesI have some FLV videos was to play on web (play in a flash player, e.g. JWPlayer). How can I protect it? I do not want someone else to download these videos.The videos was high secret! Only allow play on my website.
View 3 RepliesI want to limit my SWF file so that it cannot be stolen and hosted on another server. So if the domain serving the SWF file isn't on a list of approved domains, the SWF will not load normally but will instead display a message that links to one of the approved locations. What I'm unsure about is how to access the domain that is hosting the file (or get the fully qualified URL of the file). If You know how to get that information, I'm using Flash CS4 to compile the code targeting FP 9.
View 2 RepliesI'm still a beginning in flash in general and I'm attempting to strengthen the protection of my .swf file.One of the ideas I had was to split the .swf file up, to so speak; creating a new swf with sensitive, but vital functions and values, storing it on my webserver, and having the launcher request the files after passing a few verification processes. Only flaw in this idea, is I have no idea how to add a class (if that's the right term?) to my project. I reversed another .swf file which included the same method using Base64 encryption, but I'm not too sure how to add an external .as file to execute in my project.Of course, I've also found additional methods, such as using DCOMSoft SWF Protector (which wouldn't do much good) and obfuscation programs (which, too, can be reversed). I've recently found out about a .SWC called AS3Crypto, which I have no idea how to use. I've added the file to my AS3 Properties, but that's as far as I have gotten. The rest of AS3Crypto and its mysteries remain vague to me, and I am unable to find any useful information via Google.
I would really like to split the .swf into parts having them in different areas to make it more difficult to reverse, but I am not too sure how effective that would be, let alone how to actually do it. In regards to the external class (terminology?), since I was unable to find how to implement it with my project, I thought of salvaging the functions from the reversed .swf I have found and adding them into my internal script. Even then, the package begins with public class $Base64 extends Object -- extendsI assume simply adds additional functionality to objects, but I do not believe this is entirely necessary.
Has anyone used Flash Secure Optimizer to protect their SWF files? I read an article about it online, how reliable the article was.
Basically, I just want to take precaution from my SWF file being decompiled and/or reverse engineered.
I've always found it very annoying that Flash takes over the write protection of files that has been used, and suddenly felt an urge to do something about it. I'm not sure if it always happen on all computers but at least most of the times I can't rename a folder if a fla-file in it at some point have been opened in Flash if Flash is still running. So I have to close Flash in order to rename or move files.
View 2 Replies1.When a person Logs In, a PHP file makes an XML file of questions from the DataBase2.The Flash application then calls for the XML file .. Reads from it and asks the question to the user.3.This XML file also has the answers to the questions so that i can show on my Flash Application.4. The Problem:Softwares like Tamper Data (it Firefox Extension which gives you the power to view, record and even modify outgoing HTTP requests.give the complete path of the XML file when it is called by the Flash Application.
View 14 Replieshow to make a gatekeeper for flash files that don't let the movie play if the file is running on a forbidden site? Example: Original content located in: [URL] if another site include that example.swf, it redirects to: [URL] I need to do that to malicious people don't steal my bandwidth or just steal my games or any other flash content. btw my site: [URL]
View 1 RepliesI'm making an isometric game and I need to know which takes less memory for scrolling, making everything invisible that you can't see? Like if(!this.base.hitTest(worldHitter))this._visible = false; Or would it be better to remove the movieclips unseen and then reattach them when i should see them?
View 2 RepliesI've spend the last 6 months developping a Flash (CS4 / Flash v10) game. As I'm now ready to publish it online, I would like to ensure that my actionscript code is safe. Hence my questions are: - Is the CS4 built-in password protection safe? (I guess not given that my actionscript still needs to be executed hence has to be readable for the client)
- What are the best options to further protect my code? (I guess obfuscation is the most common approach: which obfuscators are good?)
I wanted to find out how my intellectual property, such as graphic designs, photos, tweens designs, etc can be protected in a .swf flash file?.This is because there are .swf file decompliers which can very easily convert my files into .fla and so access can be gained to my jpeg designs, photos, etc.Is there a best practise which can be followed whereby some form of security measures can be taken within flash code, etc? And if so does anyone know what these measures are?
View 6 RepliesIf you want to use content on another server, that server needs to host a crossdomain.xml file allowing access. If this file isn't there, flash won't let you access it. Given that it's easy enough to just write a proxy (say a php script that curls the external URLs) what is the purpose of this restriction? It seems that the content is still 100% available to external people, but there is just one extra hoop to jump through.
View 2 RepliesUsing flash is there anyway to detect the users IP address as a means of identifying someone who tries to copy your work off the internet?
View 7 RepliesIs it possible to write an anti cheat protection for a multiplayer game?
Game type: boards, moving color gems or squares to make three in line.
I know there are programs capable of analize the pixel color of each square and auto resolve the game by play itself. Is anyway to protect against this?
Examples:
- Detecting if mouse had been moved by a program?
- Detecting if keyboard Keys has been sent by a program?
- Maybe record player screen or manual review?
i have to implement flash streaming for the relaunch of our video-on-demand system but either because i haven't worked with flash-related systems before or because i'm too stupid i cannot get the system to work as it has to.
[Code]...
Is there any AS3/Air library for Zip files with password protection support? Previously i check FZip, it was great but it doesn't support encryption! Also another library that works good, but it not support encryption too.
View 1 RepliesFlash 8, Actionscript 2.0 I wasn't exactly sure where to post this, but I figured here would be alright. I've got this image slideshow/scroller here, that grabs its data from a xml file on the server. nothing new, but the problem is that when i enable hotlinking protection with bluehost, firefox is unable to deal with the file. safari, opera, handle it fine. when hotlinking protection is disabled, firefox handles it fine. [URL]
View 2 RepliesAny way to set up individual Flash Access protection settings for each of some <Location /{url-path}> tags in httpd.conf in the Apache. I have found in the documentation that EncryptionScope can be set to content or server. If I set it to server and use FlashAccessV2 as ProtectionScheme, how or where do I specify the Flash Access certifications and so on?
View 4 RepliesI am profiling some AS code by measuring wall clock time. In order to minimize the error I need to run the code for a long period of time. However, flash seems to protect itself from unresponsive scripts by throwing an exception after some period of unresponsiveness, namely: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
Is there any way to disable this protection, or at least extend the timeout period?
I'm building an Adobe Air app that needs to load external images from different webservers. I have my basic loader function set up, but I encountered one server that wouldn't let me load it's images. it gave me the following error[url]...
After that I got in contact with the server's manager and he told me he had been working on some basisc hotlink protection for his images. He also told me that I could subvert this by supplying[url]... as the referrer when building the request headers.
First of all I found no trace of hotlink protection with online testapplications for hotlink protection. Secondly I have no idea how to set up what he told me with a simple Loader class function.[code]...
feasable protection of my Zend_AMF gateway? I mean, how can I prevent someone from calling my service methods?
View 1 RepliesI wrote an application in flash AS3, and when I trace from flash the total memory usage of the total application is only about 9MB, But at the same time Task Manager Shows the memory usage as 110MB. Around 100MB difference.Flash Trace Method System.totalMemory difference of the Trace from the Beginning of the application to end of the application.
View 2 Repliesis it possible to hide your .swf file so that it can not be taken.Is there a way to protect it?
View 2 RepliesI know, yet another topic on protection. I think we've established the fact that you will almost always will be able to decompile a SWF, but that's not exactly what my question is about. I have a client who wants to show data (some html and css) in a Flash movie. This content will be delivered from an external source and will be passed through to the SWF. The main idea is not to be able to copy-paste the html. Of course, if you use a flashvar to pass the html-source or html-page to the SWF, it's easy to look it up in de pagecode. So perhaps a sollution is to encrypt the html before sending it through to the SWF and decrypt it inside the SWF. But of course, you would need some sort of key that's hardcoded inside the SWF file to decrypt the information ... which is a problem if you can decompile an SWF. So my question is, is there any way to encrypt data delivered to an SWF so it's impossible to directly access the data?
View 4 RepliesI've gotten these sliders to work but can't get the output values to add up. For instance, depending on the values for slider 1, 2 and 3, I need the total to show up in a separate text box. I keep getting a NaN message in the text box.Here's the code I have so far:
//item 1
sliderOne.width = 600;
sliderOne.value = 0;[code].....
I need to save email-id in my login form through the cookies. if I use shared object I am able to save but my requirement is need to save in cookies. How can I save? I got sample code from net. Attaching that code `package com {
import flash.external.ExternalInterface;
/**
* The Cookie class provides a simple way to create or access
* cookies in the embedding HTML document of the application.
[Code].....
I need to be able to compare the number of whole days between two dates in ActionScript, is this possible? I'd like to test if one date is 7 days or less after today, and if so is it one day or less (if it's before today this also counts).The workaround I have in place is using the .time part of the date field:
// Get the diffence between the current date and the due date
var dateDiff:Date = new Date();
dateDiff.setTime (dueDate.time - currentDate.time);[code].....
As I say - this is only a workaround, I'd like a permanent solution to allow me to check the number of whole days between 2 dates. Is this possible?