Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2008-10-16
14
234 Views
Last Modified: 2012-05-05
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???

0
Comment
Question by:skilleddesigner
  • 8
  • 6
14 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22738925
Quick answer: no way
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22738932
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
 
LVL 2

Author Comment

by:skilleddesigner
ID: 22739103
and how can i do it?? could you give me a live example?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22739615
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
 
LVL 2

Author Comment

by:skilleddesigner
ID: 22739641
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
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22739760
How do I see it on that site?
0
 
LVL 2

Author Comment

by:skilleddesigner
ID: 22739802
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
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22739930
I cannot see any flash there.
0
 
LVL 2

Author Comment

by:skilleddesigner
ID: 22739957
well you have to enter the page :)

pls try this page:
http://www.pdk.com.pl/index_f.html
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22740288
they use a javascript to document.write a preloader that needs some flashvars to run

Nothing special
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22740322
if I do about:cache, I find several swf files from them
0
 
LVL 2

Author Comment

by:skilleddesigner
ID: 22740668
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
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 125 total points
ID: 22741665
No - if you do not want people to see your stuff, do not put it on the internet
0
 
LVL 2

Author Closing Comment

by:skilleddesigner
ID: 31506927
hehehehhe
thank you :)
I will use the encrypt software to encrypt all my swf files, so that people can decompile them :)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question