Link to home
Start Free TrialLog in
Avatar of skilleddesigner
skilleddesigner

asked on

can we hide swf file from the decompiler software? using javascript.??

I know there are ways to encrypt swf file so that whenever its decompile it doesnt show the real code,
but is there is any way to hide my swf files using javascript???

Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Quick answer: no way
Longer answer: You can make it a little harder by not sending the correct swf from the server if the referrer is empty or not your site
Avatar of skilleddesigner
skilleddesigner

ASKER

and how can i do it?? could you give me a live example?
Sorry, no. I do not have a live example

The idea is that you pass the request for the swf through a server process that looks at the referrer (which can be faked by the way) and if it is not YOUR site and YOUR page, possibly even with a session variable set to something recognisable, you return a fake swf - you must have seen sites where if you request an image you get a "sorry no direct linking" image back. Same thing here.

You can also consider what is so amazing about your swf that you want to protect it so badly. If people want to get at it, they'll get at it. So if you have amazing algorithms, put them in a program on the server and only send the results through the swf
i have been on this website
http://pdk.pl they seems to be doing it somehow i really dont know the concept.
any idea??
How do I see it on that site?
you see the site through firebugs or any kind of decompiler
they are hiding all the flash from decompiler but when i check the cache from IE, it shows all all files.
I cannot see any flash there.
well you have to enter the page :)

pls try this page:
http://www.pdk.com.pl/index_f.html
they use a javascript to document.write a preloader that needs some flashvars to run

Nothing special
if I do about:cache, I find several swf files from them
yes i did mention that before that i can find all that swf in cache,
But finally  we decided that there is no solution to hide the the swf files.

can we code it in other way round?? hmmm something like once we close the browser window , it removes all the swf files which has been cache from my website?

is there is a possibility??


ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hehehehhe
thank you :)
I will use the encrypt software to encrypt all my swf files, so that people can decompile them :)