It's also an important lesson if you ever want to sell a computer - you need to do more than erase your files, you need to do a secure erase.
On a Mac you can do "Secure Empty Trash" in the Finder, or use the security options while reformatting the drive.
On Windows the only safe option I'm aware of is to use DBAN, a free bootable CD that will allow you do to a secure format on your drives. (You can get DBAN from
http://anonym.to/?http://www.dban.org/)
BTW - if you're wondering why delete is not good enough, there are two reasons - firstly, if you 'delete' a file in Windows Explorer or the Finder on a Mac, all you are doing is telling the OS to mark that section of the hard drive as free, the data is no removed, it's just added to the list of space that can be re-used when needed. Until the space really is reused, it can be recovered with an undelete tool because, like I say, the data is still actually there on the physical disk!
The second reason is even more nerdy! Regular hard drives use magnetism to store data, imagine it like millions and millions of little compass needles that the hard drive can turn between north-south, and east-west, to represent 1 and 0 (all computer storage media use 'binary', i.e. 1s and 0s to store your data). When the needle has been one way for a long time, it leaves a little imprint on the metal, and even after you turn it the other way, the imprint of where it was before is left behind. This means that if you have the tools, you can read back data even AFTER the space has been re-used!
So, what does a secure delete do? The simplest kind of secure delete simply deals with the first problem, of the data not actually being removed at all, and writes all 0s into the file before marking it as free space. This will stop undelete tools in their tracks, but does nothing about the magnetic memory of the disk.
The really good secure deletes will randomly write over the file 6 times, before finally writing all 0s. This will scramble the memory. 7 writes is considered good enough, but the NSA standard is 32 writes! When you do a secure empty trash in the Finder on a Mac it does a 7-pass write, and when you use the options to securely format at disk in OS X you can choose between a regular 7-write format and an NSA-style 32-write format.
For Windows and Linux people, DBAN also gives you those choices.
So - more than you ever wanted to know about deleting files
B.