-
Senior Member
Protecting Action Script code
How can I protect my AS code ... because U can find a lot of swf decompilers ...
what s the best way !?!?
thanks !
-
You could write the code as an external text file and once placed on the web server you could protect the folder its in with .htaccess or something (your web provider will need to be running apache web server for this to work)... A bit of a roundabout way but its all I can think of currently.
I don't know how you would be able to protect it locally unless you can encrypt the txt file or pass protect it.
-
Senior Member
isnt a good solution ,
because once U compile fla ....-> the swf will contain code from that txt file .#include "somefile.some_ext" , isnt an "real" , I mean inclusion isn t made run time....
txs anyway!
-
Which is why i said use .htaccess....
htaccess will mean no one will be able to download the txt file from the directory without a username/password... if you are developing your flash for the web.
-
Senior Member
I know what mean ....htaccess...
isnt this the point
Try this :
put a part of code in a txt file ....
from Ur fla in 1st frame :
#include "yourfile.ext"
then publish your movie ... and try with a swf decompiler to see the code....
Ull not see #include.... but Ull see Ur content of the txt file ....
then try to remove that txt file and after that run Ur swf - nothing changed , the swf works good - this mean when U publish Ur movie ... the txt file is compiled too as action script - this mean if U decomp. Ur swf ...Ul see the content of the txt file ....
after publishing - isnt important if U txt file exists or not....
txs.
hei friends , let me know if Im wrong .
Thanks
-
Ah i didnt realise it compiled it within the flash file... my bad.
That suprises me actually... oh well :/
-
-
ASO seems to be more annoying than anything else - i can still comprehend the code, its just scrambling everything. Dynamic referencing is not yet supported.
might be useful for compressing large amounts of code, especially if you use large variable/function/param names like me sometimes
-
I now, how protect ActionScript code. Neither ASV4, nor Flasm couldn't deprotect my code - only one way is reading flash bytecodes for manual decoding.
Mail me to ilya_cat@mail.ru , if you want to consult with me.
Excuse for my bad English.
Ilya Shlyakhovoy
www.as-protect.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|