Using password on my "media" folder

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
cyberion
Posts: 30
Joined: Tue Oct 23, 2007 5:53 pm

Using password on my "media" folder

Post by cyberion »

Welcome !

I'm using 3ds Max and Irrlicht 1.3.1 engine so far :) I'm only thinking about security of my media files (*.tga, *.bmp, *. jpg, *.wav). In example my media folder has been compressed into zip file and I can not use a password because while programme is running an error is shown on my screen :( I don't have any idea how to resolve it :( I was looking for Virtual File System but nothing has been found :( Also compiling resources in exe files is so complicated for me :(
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Search the forum for SQL
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

I think someone put in support or was going to put in support for password protected zip files but as has been said before the password protection is completely useless and doesn't prevent access from someone who wants to get in it.
Image Image Image
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Abouth the SQL, try this:
http://www.sqlite.org/index.html

Can someone shed some light on how does SQL DB can help in this situation please?
Thanks.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

MasterGod, search the Irrlicht forum for SQL.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
TheGameMaker
Posts: 275
Joined: Fri May 12, 2006 6:37 pm
Location: Germany

Post by TheGameMaker »

you could crypt that stuff yourself..
(its not THAT hard :lol:) I implemented RC6 in ASM in two days.. So I guess it should be possible to do it in one in c++/any other high level language.
RC6 is an symetric encryption, that took part at the AES contest and made place 5 or stuff. To be honest its wounded, soyou would need less than pure brute force trys, but if take enought rounds (20 for example) on who would like to break it would need way more than 2^200 operations.
I use 128 rounds myself which is kind of useless much but its still as fast as 10GB per second (in asm..) of course file loading is WAY slower, so you will never get this performance, but well, its fast enought...
here are some weblinks that might turn out to be usefull:
Wikipedia:
http://de.wikipedia.org/wiki/RC6
Cpp source:
http://www.koders.com/cpp/fidB3A4687520 ... aspx?s=RC6
http://www.codeproject.com/cpp/hexenc.asp
ASM source:
http://www.koders.com/assembler/fid45E3 ... aspx?s=RC6
Saturn
Posts: 418
Joined: Mon Sep 25, 2006 5:58 pm

Post by Saturn »

Only that hardiness and performance of the encryption algorithm is irrelevant when you need to store the key phrase alongside somehow. Just don't bother! Invent your own archive format by minimaly changing an existing one and be done with it. Everything else is throwing pearls before the swine.
Post Reply