Whiles browsing around EE I found the following code with is supposed to delete a file without the posibility of being recovered!
Here is the code I found:
Buf:array [0..1023] of byte;
for i:=0 to SizeOf(Buf)-1 do
FileMode:=2; // Read and write access
while not eof(f) do
on e:exception do
end; // except
end; // try
Result:=true; // File successfully deleted
Now, after reading a bit more on the topic you need to delete the file more than 50 times for it not being recoverable....that's what I read anyway!
So, is this function not completely secure then? and if not...How can I COMPLETELY erase files without the possibility of recovery please?