LebGeeks

A community for technology geeks in Lebanon.

You are not logged in.

#1 October 13 2006

mir
Member

Securing a File !

HI guys,

i have text file that contains data.
sometimes it contains small amount of data.. (100 ligne ) sometimes big amount  10 000 - 15 000 - 18 000 ligne or so

i Have to Secure this file, so not everyone can read it

To create this file, i am reading from a DB and Writing to it
i changed the extension to .MIR that ordinary ppl don't read it .. but anyone can use notepad to open it

I Need any idea, help, trick on how to do this ?
Encryption..any way to put a pass that is not easily crackable.. a command on the command line or something
an exe to wich i can send the path and that will encrypt the folder and decrypt it

any idea would help, no matter how lame

I was thinking about Encrypting the file
but i think it  will generate a big amount of data to store and i will need much more time to write the file and read from it

I think the best thing is to have something pre-made and call it

by the way.. the application WAS made in VB6.0 and i have to add this feature

Offline

#2 October 13 2006

samer
Admin

Re: Securing a File !

use truecrypt (http://www.truecrypt.org/). :)

Offline

#3 October 13 2006

Padre
Member

Re: Securing a File !

lol, a lot of very good encryption modules for VB, the overhead isn't that big
BlowFish is a good method

Offline

#4 October 13 2006

battikh
Member

Re: Securing a File !

zip it with winrar/winzip and add a password (for this option in winrar u'll have to register it, but that's not a hard thing to do ). to access it, you just have to double click on teh zipped file, double click on the file, it asks for a password, then it opens. no need for encrypting the file, then decrypting it, then openning the file, then deleting the decrypted file...

Offline

#5 October 13 2006

nuclearcat
Member

Re: Securing a File !

Offline

#6 October 17 2006

mir
Member

Re: Securing a File !

Thank you for ur help guys..
Was doing something else with an HGU (hand geometry Unit )
Guess will start working on the security thing this week
I got lot of Security Work ahead :)
I know some stuff will be crackable
but have to do it anyway !

I took a look at the aes 1.0.7
I liked the use of it :) and i have the source code :)


and about winzip/winrar method i think there are lots of tool around to crack those passwords
if you don't have one tell me .. i will share :)

and about the VB encryptions.. i will look around and will see about the blowfish encryption too

Last edited by mir (October 17 2006)

Offline

#7 October 17 2006

battikh
Member

Re: Securing a File !

for teh winzip/winrar, if it is not critical information, it is more than enough. the security system you use should depend on the information itself. if it's just stuff you dont want anyone to see, winzip is enough, if you're paranoid you change the file extension, should do the trick for most ungeeky people who will try to open it. but if it's your credit card information and u insist on putting it on your pc, ok, more security would be welcomed.

Offline

#8 October 17 2006

rolf
Member

Re: Securing a File !

encrypt the file and save it on a CD, then send it to honolulu, then have the user call honolulu and ask for someone to read to him the contents of the file on the phone and decrypt them thanks to the decription key that he has.

Offline

#9 October 18 2006

mir
Member

Re: Securing a File !

I wonder How i didn't Get the Honolulu Idea Before !

well the data is important not to be modified.. it is not as important as credit card info !  and it is not mine !

what if an error happened while encrypting .. then the decryption won't be successful
or what if for some reason.. i can't decrypt successfuly
(i bet that this will happen if I write the algorithms lool

all i will have are some weird characters !
can that happen.. ever happened before ?

lool that is something i have to think about ;)

Offline

#10 October 18 2006

battikh
Member

Re: Securing a File !

i guess the honolulu option is teh best solution in this case.
otherwise, you can put it in a safe in a bank.
or, you can give it to me, i'll keep it safely with me and wont let anyone have access to it, and you can trust me, i wont read it ;)

i'm starting to be curious. very important data to be crypted, it is not yours, it should not be modified, you should be able someday to decrypt it correctly...mmmm...is it a plan or targets for a terrorist organisation? are you working with bin laden? OH MY GOD, you ARE ben laden!!!

Last edited by battikh (October 18 2006)

Offline

#11 October 20 2006

Padre
Member

Re: Securing a File !

ever heard of checksum ???

Offline

#12 October 21 2006

mir
Member

Re: Securing a File !

lool @ you battikh
First i found a secret Place in LaLa Land....much safer than Honolulu
and now since u discoverd my plot.. i am afraid i will have to terminate you

well it is something i am doing for work :)
it is as usual the first,fastest solution available.. the info does not to be so secured
just basic security stuff

if the data was mine.. i wouldn't mention i have sensitive data.. i wouldn't ask
i would go reading all those manuals, not search for the fast alternative

and padre .. yes i know what u mean... I checked that the data wasn't corrupted

i just code what they want.. not what i think is best !

Offline

#13 October 24 2006

rolf
Member

Re: Securing a File !

mir wrote:

lool @ you battikh
First i found a secret Place in LaLa Land....much safer than Honolulu
and now since u discoverd my plot.. i am afraid i will have to terminate you

[root@summer root]# kill battikh
-bash: kill: battikh: no such pid

Offline

Board footer