Wiping temporary files for security -


i working on application displays data database. right working on set of modules generate html page, including both text , images, display in web browser (built program msie), , gives user option print it.

in destructors of these classes have instructions delete temporary files created, may contain official use information.

over weekend got thinking should first overwrite data 0's (or other bytes) , delete them.

i've heard patterns of bytes used in file wiping , single pass may not enough, yet can't think of reason why. i've done research , read on wikipedia, , seems single pass going work well.

also, adding "no-cache" meta-tag in html sufficient assure msie doesn't copy data own cache directory?

there 2 programs know on unix systems. have check out if available on windows, either native or cygwin or that, or maybe may find them useful study how it.

  1. srm available on sourceforge
  2. shred - part of gnu coreutils

both of them use gutmann method of writing series of patterns on data. see secure deletion of data magnetic , solid-state memory paper peter gutmann explanation of idea. see srm manpage shred manpage introduction on how work user's point of view.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -