Digital Paint Discussion Board

Digital Paint Community => Other Stuff => Topic started by: maxpower on August 29, 2007, 05:46:32 PM

Title: I need a way to protect files
Post by: maxpower on August 29, 2007, 05:46:32 PM
Im making a game for my visual basic class at school, and i need a way to protect the files from being modified by classmates. How can i do this.
Title: Re: I need a way to protect files
Post by: Cobo on August 29, 2007, 06:27:54 PM
You mean like source files or game files? With game files I guess you could go quake style and create a 'pak' file with compressed data.
Title: Re: I need a way to protect files
Post by: Eiii on August 29, 2007, 06:43:36 PM
Sort of along the lines of cobo's suggestion, you could zip it and then change the extension to .jpg or something, and unzip it when you need to use it again.
Title: Re: I need a way to protect files
Post by: maxpower on August 29, 2007, 06:51:57 PM
i mean game files. i dont think that would work efficient enough, moment someone finds out how i did it boom they pretty much got the files.
Title: Re: I need a way to protect files
Post by: KnacK on August 29, 2007, 08:55:20 PM
password protected zip file or usb thumb drive
Title: Re: I need a way to protect files
Post by: ViciouZ on August 30, 2007, 06:48:11 AM
New ViciouZ brand super protection!

1. Add to encrypted RAR file.
2. Put the RAR file in an encrypted ZIP file.
3. Rename the ZIP file to .DLL, or a format likely to be that size.
4. Put it in a hidden folder in the deepest darkest subdirectory you can find, and make it sound important, e.g. windlls. Mask it with a load of DLLs.

There.
Title: Re: I need a way to protect files
Post by: maxpower on August 30, 2007, 07:47:36 AM
how am i suppose to read it then, i need to encrypt so they cant modify them for the game. like i was to hand it out for people to play, i dont want them changing the images and stuff.
Title: Re: I need a way to protect files
Post by: KnacK on August 30, 2007, 07:54:15 AM
New ViciouZ brand super protection!

1. Add to encrypted RAR file.
2. Put the RAR file in an encrypted ZIP file.
3. Rename the ZIP file to .DLL, or a format likely to be that size.
4. Put it in a hidden folder in the deepest darkest subdirectory you can find, and make it sound important, e.g. windlls. Mask it with a load of DLLs.

There.

or...

Install ANY of Sony's latest games and hide it in their root kit hidden folder ;D
Title: Re: I need a way to protect files
Post by: ViciouZ on August 30, 2007, 07:59:30 AM
Or use the eR00tkit.


Maybe just put it in a Read Only Folder?
hmmm
Title: Re: I need a way to protect files
Post by: KnacK on August 30, 2007, 08:17:54 AM
Create a folder somewhere
right click on the folder - select properties
click on security
uncheck the box that says "inherit properties from parent folder"
Now add the user names that you want access to that folder.
Title: Re: I need a way to protect files
Post by: KiLo on August 30, 2007, 11:01:51 AM
http://www.everstrike.com/lock_folder.htm

^^That seems like it might be a good way to go.

PM me if you want to get the full version.
Title: Re: I need a way to protect files
Post by: maxpower on August 30, 2007, 02:02:24 PM
Read only wouldnt work, its going to say this file is read only so no. I'm not sure if you guys understand what im trying to do. Im trying to protect the game images, like protecting the player skins and stuff for paintball. I need a way to catch people that edit them or like check md5 checksums of the files.
Title: Re: I need a way to protect files
Post by: ViciouZ on August 30, 2007, 02:24:44 PM
Look in the DP source and copy the md5sum check?
Title: Re: I need a way to protect files
Post by: maxpower on August 30, 2007, 08:38:51 PM
Thats in C++, i said im doing it in visual basic.
Title: Re: I need a way to protect files
Post by: y00tz on September 06, 2007, 02:27:12 PM
Does anyone here remember that day that MS added "lock folder" as an option to XP via an update, yet immediately removed it after everyone forgot passwords to very important files?

Anyway, Max, are you protecting game data or source?  If you're protecting game data, encrypt it, otherwise, keep it on a flash drive and never let your classmates have access to it.  Unfortunately if they *could* get it, they almost certainly can if they want it bad enough.
Title: Re: I need a way to protect files
Post by: KiLo on September 06, 2007, 02:39:28 PM
Does anyone here remember that day that MS added "lock folder" as an option to XP via an update, yet immediately removed it after everyone forgot passwords to very important files?

And what did I suggest earlier?

http://www.everstrike.com/lock_folder.htm

^^That seems like it might be a good way to go.

PM me if you want to get the full version.
Title: Re: I need a way to protect files
Post by: y00tz on September 06, 2007, 02:52:05 PM
I was asking if anyone remember the botched attempt to launch "Microsoft Private Folder 1.0" .. not suggesting he use it or any form of it, especially a pirated copy.
Title: Re: I need a way to protect files
Post by: jitspoe on September 07, 2007, 03:28:02 PM
Now THAT would be a good way to get people to register.  "Your demo has expired.  If you ever want to see your files again, send $50 to...."
Title: Re: I need a way to protect files
Post by: KnacK on September 07, 2007, 04:16:27 PM
/me sees easter egg potential...........
Title: Re: I need a way to protect files
Post by: y00tz on September 07, 2007, 04:39:08 PM
Now THAT would be a good way to get people to register.  "Your demo has expired.  If you ever want to see your files again, send $50 to...."

Haha, brilliant.