Solved

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

Posted on 2008-10-16
14
230 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
Comment Utility
Quick answer: no way
0
 
LVL 75

Expert Comment

by:Michel Plungjan
Comment Utility
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
Comment Utility
and how can i do it?? could you give me a live example?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
Comment Utility
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
Comment Utility
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
Comment Utility
How do I see it on that site?
0
 
LVL 2

Author Comment

by:skilleddesigner
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 75

Expert Comment

by:Michel Plungjan
Comment Utility
I cannot see any flash there.
0
 
LVL 2

Author Comment

by:skilleddesigner
Comment Utility
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
Comment Utility
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
Comment Utility
if I do about:cache, I find several swf files from them
0
 
LVL 2

Author Comment

by:skilleddesigner
Comment Utility
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
Comment Utility
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
Comment Utility
hehehehhe
thank you :)
I will use the encrypt software to encrypt all my swf files, so that people can decompile them :)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now