in reply to Re: Secure delete ie shred a file
in thread Secure delete ie shred a file

That's nothing and just shows you how lax and decadent our western security services have become.

A couple of years ago I met the head of KGB Data Security Division in a bar, and after a few rounds of slivovitz he revealed to me that the main purpose of the Soviet nucular and space programs was secure data destruction! You see, when the Russians want to destroy a data medium (be that a magnetic tape, harddisk, paper file or a dissenter's brain) they transport said medium to Siberia where it is manually disassembled by convict slave workers. These convicts are so good that they can pick the 1s and 0s off a harddisk platter using household tweezers! The ground-down bits are then transported to the nearest testing site for nucular weapons and blasted with a hydrogen bomb of no less than 40 megaton yield. They wait for a few minutes to let the remains cool off, then scrape the slag off the walls and seal it in titanium-alloy containers. These containers are placed into a Soyuz and shot straight into the sun!

Now, you may think you can just fly up to the sun and retrieve that data, but they've got laser-equipped guardian satellites around it which will shoot down any approaching spacecraft. They even have a contingency plan should the satellites be compromised, it involves manipulating several neighbouring stars to fall into the sun, thus creating a black hole. You see, at the time these plans were drawn up it was believed that no information could ever escape a black hole. As you can imagine, they're in a bit of a panic now that this theory has been disproved.

The Chinese, OTOH, just feed their hard-disk platters to goats, since it is a well-known fact that the digestive juices of goats will corrode everything. Interestingly, research has shown that the average IQ of the Mongolian Mountain Goat is rising at an alarming rate, and prices for goat droppings on the world market have exploded, though it is unclear who buys all this goat shit.


I say we nuke the site from orbit, it's the only way to be sure - Ripley

Replies are listed 'Best First'.
Re^3: Secure delete ie shred a file
by Anonymous Monk on Aug 05, 2010 at 21:38 UTC
    Would something like the following be at all secure? I imagine it might keep amateurs out, but not real spies. sub srm { my $filename = shift; my $filesize = -s "$filename"; open FH, ">$filename"; binmode FH; for (my $c = 0; $c < $filesize; $c++) { print FH '9'; # it's more interesting than 0 } print "Erased $filesize bytes!\n"; close FH; unlink $filename; }