Not true. You can open the file in a way that denies other processes read and write access, so it can't be read for copying. The problem is as soon as your program ends or gets killed, the file is free-for-all again.
Regards, mav -- Black holes are the places where God divided by 0...