[PLUGIN]Password Protected Zip Files

Completed plugins, behaviors and effects.

Post » Thu Nov 24, 2011 3:15 am

I hope it's useful for you guys

HowToUse:


DownloadLink:
aRandomDropBoxAccountDownloadLink


PS: I heard you like to use INI files to contain for example, dialogues of the game. Compressing the INI with a friggin password and using this plugin ensures that no one will modify the contents of your game.
You can also use it to load cutscene images in runtime. So your executable (and all of your game) will be lighter.
Zizaco2011-11-24 03:49:35
B
2
G
1
Posts: 3
Reputation: 556

Post » Thu Nov 24, 2011 6:27 am

Thanks for this Zizaco =]
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Thu Nov 24, 2011 12:31 pm

Finally someone made a plugin like this. Thank you Zizaco, it's certainly very much appreciated!
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Thu Nov 24, 2011 1:32 pm

This plugin does not work for me. It opens the cmd.exe tool but does not save anything to the tmp.Well it does not work with winxp ,I haven't tested it on win7.

Sorry i had a noob moment ,It's working now. DravenX2011-11-24 14:13:26
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Nov 24, 2011 3:38 pm

Ok i have been playing around with the plugin and it's a good idea but still has some security holes.The tmp file can still be accessed when the game is running.The next Security flaw is the password ,If i am desperate enough i can get your password very easily by examining the exe with another app.Create an exe game with this plugin and i will show you your password no matter how long or short it is.

It's still a nice plugin though.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Nov 24, 2011 5:02 pm

[QUOTE=DravenX] Ok i have been playing around with the plugin and it's a good idea but still has some security holes.The tmp file can still be accessed when the game is running.The next Security flaw is the password ,If i am desperate enough i can get your password very easily by examining the exe with another app.Create an exe game with this plugin and i will show you your password no matter how long or short it is.

It's still a nice plugin though. [/QUOTE]

wow I sorta figured those would be the issues with this plugin but i still think its still a great plugin. I play a lot of visual novel type games with tons of cg in them and there are always programs to rip out the CGs but they still sell quite well. I think this would deter most non hardcore from messing around with things. Question would be how to secure it more. I personally haven't messed with it yet but does it create the tmp folder in the game dir?
B
10
S
1
G
2
Posts: 11
Reputation: 1,341

Post » Thu Nov 24, 2011 5:07 pm

Tmp dir is in appData?
B
18
S
4
G
1
Posts: 413
Reputation: 2,512

Post » Thu Nov 24, 2011 5:33 pm

Yes the tmp directory is in the directory where the exe files is located.Best way to secure files would be to create some sort of exe compressor when construct creates the exe file.And there should be an option to choose where to create the tmp file.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Nov 24, 2011 5:44 pm

well maybe a simple thing to do to deter a bit more would be to create a bunch of random folders with dummy files within the tmp dir. I know its silly but it can make it a bit bleh for someone trying to weed through XDamfest2011-11-24 17:45:35
B
10
S
1
G
2
Posts: 11
Reputation: 1,341

Post » Thu Nov 24, 2011 6:45 pm

I'm glad you found the plugin useful.

[QUOTE=DravenX] Ok i have been playing around with the plugin and it's a good idea but still has some security holes.The tmp file can still be accessed when the game is running.[/QUOTE]
Yes, you're right. But the idea is not to prevent the user from viewing the content. (because, in practice, this is impossible ), but to prevent any changes in the content that will be loaded by the game.

Imagine that you're using the Plugin to load your cutscene images. The user will not be able to hack and change the graphics and will not be able to edit or see the the cutscene images that he has not "archived" yet. But, when he do archive, he can (obviously) see them in the game window, save them using print-screen or in the tmp folder when they are on the screen. No problem with that. =D

[QUOTE=DravenX]The next Security flaw is the password ,If i am desperate enough i can get your password very easily by examining the exe with another app.Create an exe game with this plugin and i will show you your password no matter how long or short it is.[/QUOTE]
There is an old (or classic?) technique to get around this.
Imagine that your password is "xBacon2016". In the password field of the action: do not simply write "xBacon2016", but "xB"+"acon"+str(20)+str(1)+str(6).

Now try to find the password in the executable. ;)

And don't forget. "zip" files do not necessarily need the extension. zip. Nothing prevents your files from having ".pak", ".cab", ".dat" or (my favorite) ".dll" extension. =)

[QUOTE=amfest]I personally haven't messed with it yet but does it create the tmp folder in the game dir? [/QUOTE] Yes, in the game dir.

I'm thinking about a "compress file with password action". So you could create save games in .ini files(I know u guys do it all the time) and protect then from hacking. =)Zizaco2011-11-24 19:03:37
B
2
G
1
Posts: 3
Reputation: 556

Next

Return to Completed addons

Who is online

Users browsing this forum: No registered users and 0 guests