C2 "vs" Flash Safety

Discussion and feedback on Construct 2

Post » Sun Sep 23, 2012 9:11 am

Yes, yes.. I should know better then creating a VS topic.

I am also getting a eerie feeling of deja vu here!


But anyhow


Before I had any programming understanding, I liked some Flash Games, I downloaded then via the source code.
I opened them with a swf decompiler, and had the game files.


While C2, like all js can be read directly inside the browser. I only found stuff like this: "images/hansblaster-sheet0.png".

And while the Images are very easy to get, I can't imagine C2 code to be decompiled into anything as readable as decompiled flash files.



QUESTION:
Can I change the name of the image folder AND the name of the images into something less obvious? 1_xs.js/dafdfgsdsdf.png ?

I would just have to change the c2runtime.js right?
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Sun Sep 23, 2012 11:51 am

Not much point in changing it as the browser still needs to send a request to get the images in the first place. :)
B
7
S
1
Posts: 74
Reputation: 1,232

Post » Sun Sep 23, 2012 1:02 pm

The offline cache file lists all files, and Chrome developer tools shows you all the images as well, so there's not much to gain by renaming image files.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Sun Sep 23, 2012 1:45 pm

Does the exe do the same? I don't have one right now, but I do not remember seeing the files anywhere.
B
47
S
10
G
6
Posts: 455
Reputation: 8,326

Post » Sun Sep 23, 2012 3:47 pm

Yeah, but renaming would make it less obvious what file is what haha ^^ Thx though, agreeing on the other part though?
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Sun Sep 23, 2012 4:27 pm

Also, flash is not secure, you can decompile is with easy =\
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,190
Reputation: 18,272

Post » Sun Sep 23, 2012 5:13 pm

In Awesomium it just backs all the files in to one big binary. If you had the right tool it would be easy to get the images out as well. It's impossible to make 100% secure protection - it's not really worth worrying about. If someone rips off your sprite, go after them or their host with a copyright infringement claim. That's more effective than trying to come up with some super secure encryption, which is typically impossible to achieve.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Sun Sep 23, 2012 6:28 pm

Yeah, I know it is impossible to make a 100% protection. Huge games have been cracked open before. I'm not worried at all, just out of curiosity. The Awesomium way is much more elegant though, I must say.
B
47
S
10
G
6
Posts: 455
Reputation: 8,326


Return to Construct 2 General

Who is online

Users browsing this forum: DTernes and 4 guests