Solved

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

Posted on 2008-10-16
14
235 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
[X]
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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why is initialize not a function? 8 51
Tools for analysis of code 4 44
ModalPopup  question 22 38
Boolean 13 18
This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

763 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