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???

LVL 2
skilleddesignerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michel PlungjanIT ExpertCommented:
Quick answer: no way
0
Michel PlungjanIT ExpertCommented:
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
0
skilleddesignerAuthor Commented:
and how can i do it?? could you give me a live example?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Michel PlungjanIT ExpertCommented:
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
0
skilleddesignerAuthor Commented:
i have been on this website
http://pdk.pl they seems to be doing it somehow i really dont know the concept.
any idea??
0
Michel PlungjanIT ExpertCommented:
How do I see it on that site?
0
skilleddesignerAuthor Commented:
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.
0
Michel PlungjanIT ExpertCommented:
I cannot see any flash there.
0
skilleddesignerAuthor Commented:
well you have to enter the page :)

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

Nothing special
0
Michel PlungjanIT ExpertCommented:
if I do about:cache, I find several swf files from them
0
skilleddesignerAuthor Commented:
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??


0
Michel PlungjanIT ExpertCommented:
No - if you do not want people to see your stuff, do not put it on the internet
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
skilleddesignerAuthor Commented:
hehehehhe
thank you :)
I will use the encrypt software to encrypt all my swf files, so that people can decompile them :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.