borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (New Look for my Homepage)Next Topic (New Download section!) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Copying File
Poster Message
Chris_871
Level: Master


Registered: 30-11-2002
Posts: 107

icon Copying File

Dear Members

I have one important file in my hard disk. This file should not copy by otheres. Even if they remove the hard disk and fix into the other system also it should not copy. Is there any way to make that ?

Please help me.


17-03-2003 at 05:53 PM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1658
icon Re: Copying File

Other than writing your own disk format (meaning you'd have to create your own OS) that's encrypted and unknown to any other OS or third party tool. No. Although even then it could be copied, just unreadable until the encryptions cracked.

Anything that exists on a hard drive can be copied, even if it's been deleted and written over 8+times (or thereabouts). Data can even be retrieved if the hard drive's platters are removed from the hard drive casing. Anything short of shreading the hard drive into shreads of metal won't prevent retrieval/copying.

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

17-03-2003 at 07:40 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 876
icon Re: Copying File

well, just to add... JL's right because there are so many file retrievers out there that deleting won't help,

and he's also right when the only way to go is to encrypt the file, still allowing it to be copied and unusable until the encryption has been broken.

maybe the suggestion would be to create an unorthodox method of encrypting... use a series of methods to ensure that breaking your code could be close... close to impossible.

well, another tip would be to place it somewhere important, that other people wouldn't dare to tamper with,like the system folder, perhaps?

how big is the file anyway?

____________________________
Been busy trying to take a second degree <--it's not working out...

18-03-2003 at 01:09 AM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1658
icon Re: Copying File

Just  something I thought of, if you do decide to create your own encryption routine, you won't be able to store the decyrption program on the PC. If you did, it'd take no time for a hacker to break into the file (regardless of it's name or location).

To be completely safe it'd have to be on a CD that you carried with you at all times. If someone were to remove the hard drive, they'd also take any CD's/floppies around the computer - especially if they knew that there was an encrypted file they wanted.

Likewise, no source code, documentation about the encryption could exist on the PC, or any other location - again would defeat the purpose.

As a tip for encryption, do a search online, for the strongest, 1024bit, (I think I saw a 4096 bit encryption at one time). NEC's currently using/developing a multi based encryption of varying encryption methods [so you won't find details on what the code is behind it].


____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

18-03-2003 at 03:07 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
Chris_871
Level: Master


Registered: 30-11-2002
Posts: 107
icon Re: Copying File

Thank you VBGuru and JLRodes.

Once I have tryed to copy a movie file from a CD (music01.dat) But after copying some 45%, it says some error message ie. cannot copy Cyclic redundancy error.
That means they have write a movie into the CD with some technique.Am I right ? How ?

18-03-2003 at 05:26 AM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1658
icon Re: Copying File

"Cyclic redundancy error" falls into (generally) one of these categories 1) Hardware error, 2)software error.

It happens with any media (harddrive, CDRom, floppy disk) and is normally a bad sector or scratched/bad disk.

Of course it could be a failure of the device drivers or software reading the disk or even the drive itself going out (disk drive glitching at a certain point on disks).

If you have that error, chances are it can't be played/opened properly either.



____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

18-03-2003 at 07:24 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
win_dir
Level: VB Guru

Registered: 04-08-2002
Posts: 390
icon Re: Copying File

At least if the disk is damaged it will mean that probably nobody can retrieve EVERY last bit or byte! I think the best thing you could possibly do is find some ActiveX control that offers high encryption and just make sure you dont put the key anywhere near the actual thing and make sure you dont get an ActiveX control that just uses a plaintext key if your document you want to protect is THAT precious.

I've just remembered, i saw a hacking article over a year ago now that showed how to totaly hide a folder from ANYONE unless they new the exact name and location of the folder OR they got access to the computer to use proper DOS (non-commandline). I'll see if i can find it for you or remember how it is done if you like.

And also if you have NT, 2000 or XP and you have an encrypted file system and you have the permissions on the file setup correctly it should be pretty damn hard to access the file unless they get your username and password that should really be changed every week or fortnight if it is less important or you could create a random username who is the only username that can access the file and has been created solely for the purpose of protecting the file.

[Edited by win_dir on 18-03-2003 at 05:52 PM GMT]

____________________________
We have a Mustek 5 M/Pix GSm@rt USB Digital Camera
for just £74.03 , offer only on until 30th February!

<AllDuck.com>      

Enquiries/Sales: 0845 430 9862
Fax: 0870 950 4532

18-03-2003 at 05:44 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
win_dir
Level: VB Guru

Registered: 04-08-2002
Posts: 390
icon Re: Copying File

I found the page with the info on about hiding folders, only one problem. Kicks Windows XP enabled machine and shouts "I WANT LINUX". It won't work on my version of XP, except it does because it is not allowing any access to the folders protected by this method. Anyways i know it works for 95/98/ME so the page is http://www.linuxfactory.ie/llfadvoc/llfadvfm.html if you want to check it out. Even if you cant use it at all in what your trying to do you might learn a few interesting things from the page.

____________________________
We have a Mustek 5 M/Pix GSm@rt USB Digital Camera
for just £74.03 , offer only on until 30th February!

<AllDuck.com>      

Enquiries/Sales: 0845 430 9862
Fax: 0870 950 4532

18-03-2003 at 08:19 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
ahmad
Level: Master

Registered: 03-02-2003
Posts: 121
icon Re: Copying File

hi
u guys u  wrote about the fact that files can be retrieved from harddisk even if they r deleted 7-8 times ,  hocome ??
can u tell me about the softwares/sites that can give me information about that plus Technically whats the logic behind that enables softwares to retrieve these kind of deleted files


____________________________
@#@#@

26-03-2003 at 05:19 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1658
icon Re: Copying File

It's generally very expensive (thousands/hundred thousands of dollars), done only for retrieving files by a police agency.

The hard disk stores the data, but faint magnetic signatures exist from prior writes, so you can read the disk for the strongest (current) and back reconstructing the data. Of course it isn't complete generally (unless it wasn't overwritten). Old way of deleting (perhaps even now), deleting a file just removed the first character in the directory structure (FAT).

As far as finding software to do it, or even code to do it, is not too likely (unless you pay large amounts of money).

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

26-03-2003 at 08:50 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB General : Copying File
Previous Topic (New Look for my Homepage)Next Topic (New Download section!) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder